RItem.OnToggle


public event OnToggle

Prototype:

OnToggle(Sender, EventData)

Parameters

Sender
the event firing control
EventData
unused for this event

Description:

Event fired when the user toggles the menu item.

Return value:

This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.