public event OnButtonPress
Prototype:
OnButtonPress(Sender, EventData)
Parameters
Sender
the event firing control
EventData
contains a string, encapsulating the number of the mouse button pressed
Description:
Event triggered by user pressing button.
Evaluating EventData like this :
button=value EventData
will give the button that was pressed.
Return value:
This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.