Event handler for OK buttons
virtual void OnOK( UINT id, const CXlControlOK* ctl );
ID of the button which was pressed.
Pointer to the control which originated the event.
This overrideable function is called whenever a button of type CXlControlOK is pressed.
Its default behaviour is to call EndDialog(TRUE) in order to close the dialog.