public event OnActivateItem
Prototype:
OnActivateItem(Sender, EventData)
Parameters
Sender
the event firing control
EventData
unused for this event
Description:
Emitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant event is
OnActivate.
Return value:
This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.