Event handler for all triggered events
virtual BOOL OnTrigger( const CXlControl* ctl ); |
Pointer to the control which originated the event.
This function is called whenever a control triggers an event. Note that the trigger state must be set for a control in order for it to be able to trigger an event. The trigger state is on by default for push-buttons, but off for all other controls.
Its default behaviour is to call the appropraiet overrideable event handler OnOK(), OnOption(), OnCheckBox() or OnListBox() according to the type of control which originated the event.
Header: xldialog.h