XLL+ Class Library (6.3)

CXlControlIcon::CXlControlIcon

Constructs a CXlControlIcon object, without displaying it

CXlControlIcon(
   UINT id = -1,
   USHORT nIcon = 1,
   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.

nIcon

Value representing an icon. See GetIcon() for a list of icon values.

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 an icon control.

Methods of parent class

Requirements

Header: xldialog.h

See Also

CXlControlIcon Class | CXlControlIcon Methods