XLL+ Class Library (7.0)

CXlDialog::OnTrigger

Event handler for all triggered events

virtual BOOL OnTrigger(
   const CXlControl* ctl
);

Parameters

ctl

Pointer to the control which originated the event.

Remarks

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.

Requirements

Header: xldialog.h

See Also

CXlDialog Class | CXlDialog Methods