XLL+ Class Library

CXlControlCancel::CXlControlCancel

Constructs a CXlControlCancel object, without displaying it

[C++]
CXlControlCancel(
   UINT id = -1,
   const char* pszText = 0,
   USHORT x = 0,
   USHORT y = 0,
   USHORT cx = 0,
   USHORT cy = 0
);

Parameters

id

Numeric identifier of the control, which can be used to refer to it in event handlers. The ID does not need to be unique.

pszText

Button text. If 0, then "Cancel" will be used.

x

Coordinate of left side of control. Ignored if 0.

y

Coordinate of top of control. Ignored if 0.

cx

Width of control. Ignored if 0.

cy

Height of control. Ignored if 0.

Remarks

This constructor creates a push-button. When the user presses it the dialog will be closed and Show() will return FALSE.

Methods of parent class

Requirements

Header: xldialog.h

See Also

CXlControlCancel Class | CXlControlCancel Methods