XLL+ Class Library

CXlDialog::OnOK

Event handler for OK buttons

[C++]
virtual void OnOK(
   UINT id,
   const CXlControlOK* 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 a button of type CXlControlOK is pressed.

Its default behaviour is to call EndDialog(TRUE) in order to close the dialog.

Requirements

Header: xldialog.h

See Also

CXlDialog Class | CXlDialog Methods