Constructs a CXlControlCancel object, without displaying it
CXlControlCancel( 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 "Cancel" 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 dialog will be closed and Show() will return FALSE.
Header: xldialog.h