CONTROL GET SIZE statement

Purpose

Get the size of a control in the specified dialog.

Syntax

CONTROL GET SIZE hDlg, id& TO nWide&, nHigh&

Remarks

hDlg refers to the dialog that owns the control.

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

The width is placed in the nWide& and the height is placed in nHigh& variables.  The coordinates are specified in the same terms (pixels or dialog units) as the parent dialog.

See also

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