XLL+ Class Library (6.3)

CXlDialog::OnOption

Event handler for option buttons

virtual void OnOption(
   UINT id,
   const CXlControlOption* ctl
);

Parameters

id

ID of the button which was pressed.

ctl

Pointer to the control which originated the event.

Remarks

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.

Requirements

Header: xldialog.h

See Also

CXlDialog Class | CXlDialog Methods