Click or drag to resize

MenuCommandEvent Properties

X#

The MenuCommandEvent type exposes the following members.

Properties
  NameDescription
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyHyperLabel
The hyperlabel connected to the menu item that generated this MenuCommandEvent.
Public propertyItemID
A numeric value representing the ID of the menu item that generated this MenuCommandEvent.
Public propertyMenu
The Menu object that generated this MenuCommandEvent.
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyName
A string representing the name stored in the hyperlabel of the menu item that generated this MenuCommandEvent.
Public propertyNameSym
A symbol representing the name stored in the hyperlabel of the menu item that generated this MenuCommandEvent.
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
See Also