SetEventHandler
BOOL SetEventHandler( ClassObject objEventHandler )
returns true if successful else false
Sets a specific object to be the event handler for this control. The event handler object can implement part's of the interface described below
to handle those particular events. It will be the programmers responsibility to assure that the lifetime of the object passed in is larger that
of the control itself. By default, the control derived class is set as Event handler.
The following interface is supported.
BOOL OnWizardStepActivate(int nIndexActivate, int nIndexdeactivate); // When Active step is changed, programmatically or graphically
void OnWizardStepCbnSelChange(int nIndex); //When selection of a particular combo box is changed: nIndex = the step to which the combo box is associated
Control.h