Event handler for option buttons
[C++]
virtual void OnOption(
UINT id,
const CXlControlOption* ctl
);
ID of the button which was pressed.
Pointer to the control which originated the event.
This overrideable function is called whenever an option button
(CXlControlOption)
is selected.
Note that it will only be called if the option control
or it owner CXlControlOptionGroup
has been set to trigger events
(see CXlControl::SetTrigger()). Its default behaviour is to do nothing.
Header: xldialog.h