menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MenuActivationControl - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MenuActivationControl

    MenuActivationControl class using subclassing to detect deactivate application message.

    Inheritance
    System.Object
    NativeWindowSubclass
    MenuActivationControl
    Inherited Members
    NativeWindowSubclass.AfterReleaseHandle()
    NativeWindowSubclass.AssignHandleCustom(Control)
    NativeWindowSubclass.AssignHandleCustom(IntPtr)
    NativeWindowSubclass.DoReleaseHandle()
    NativeWindowSubclass.ReleaseHandleCustom()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class MenuActivationControl : NativeWindowSubclass

    Constructors

    MenuActivationControl()

    Constructor.

    Declaration
    public MenuActivationControl()

    Methods

    WndProc(ref Message)

    Detecting deactivate application message.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    windows message.

    Events

    AppActivate

    Event fired on activate application message.

    Declaration
    public event MenuActivationControl.EventHandler AppActivate
    Event Type
    Type
    MenuActivationControl.EventHandler

    AppDeactivate

    Event method.

    Declaration
    public event MenuActivationControl.EventHandler AppDeactivate
    Event Type
    Type
    MenuActivationControl.EventHandler

    MouseActivate

    Event fired on mouseActivate message.

    Declaration
    public event MenuActivationControl.EventHandler MouseActivate
    Event Type
    Type
    MenuActivationControl.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved