XLL+ Class Library (6.3)

CXlControl::SetPos

Sets the position and optinally the size of the control

void SetPos(
   USHORT x,
   USHORT y,
   USHORT cx = 0,
   USHORT cy = 0
);

Parameters

x

Coordinate of left side of control.

y

Coordinate of top of control.

cx

Width of control. Ignored if 0.

cy

Height of control. Ignored if 0.

Remarks

Sets the position and optionally the size of the control. Note that zero values for x, y, cx and cy will result in the default position and/or size being applied.

Requirements

Header: xldialog.h

See Also

CXlControl Class | CXlControl Methods