Constructs a CXlControlOK object, without displaying it
CXlControlOK( UINT id = -1, const char* pszText = 0, USHORT x = 0, USHORT y = 0, USHORT cx = 0, USHORT cy = 0 ); |
Numeric identifier of the control, which can be used to refer to it in event handlers. The ID does not need to be unique.
Button text. If 0, then "OK" will be used.
Coordinate of left side of control. Ignored if 0.
Coordinate of top of control. Ignored if 0.
Width of control. Ignored if 0.
Height of control. Ignored if 0.
This constructor creates a push-button. When the user presses it the OnOK() event handler will be invoked. By default, this method dismisses the dialog with result TRUE. It can be overriden in classes descended from CDialog.
Header: xldialog.h