XLL+ Class Library

CXlControlListBox::CXlControlListBox

Constructs a CXlControlListBox object, without displaying it

[C++]
CXlControlListBox(
   UINT id = -1,
   int nSel = -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.

nSel

Initial index of selected item. -1 for no selection.

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 number edit field.

Methods of parent class

Requirements

Header: xldialog.h

See Also

CXlControlListBox Class | CXlControlListBox Methods