'Declaration Public Event ActivationChanged As DropDownManager.ActivationChangedEventHandler
public event DropDownManager.ActivationChangedEventHandler ActivationChanged
The event handler receives an argument of type DropDownManager.ActivationChangedEventArgs containing data related to this event. The following DropDownManager.ActivationChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
HookCode | The code passed into the hook procedure. Refer to API documentation for SetWindowsHookEx.. |
HwndActivated | The handle of the window being activated |
HwndDeactivated | The handle of the window being de-activated |
Type | Identified the message that triggered the ActivationChanged event. |
Adding a listener here will cause a message hook to be added.
Only one hook is created no matter how many event listeners there are. The hook is removed when there are no more listeners.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2