CONTROL SET SIZE statement

Purpose

Change the size of a control.

Syntax

CONTROL SET SIZE hDlg, id&, wide&, high&

Remarks

hDlg refers to the dialog that owns the control.

id& is the unique control identifier as assigned to the control with the CONTROL ADD  statement.

wide& and high& specify the new dimensions, in the same terms (pixels or dialog units) as the parent dialog. A control may extend past the edge of the client area of the parent dialog, but will appear clipped (partially displayed).

See also

Dynamic Dialog Tools, CONTROL GET CLIENT, CONTROL GET LOC, CONTROL GET SIZE, CONTROL SET LOC