CONTROL GET CLIENT statement

Purpose

Return the client size of the specified child control.

Syntax

CONTROL GET CLIENT hDlg, id& TO wide&, high&

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 size of the control client area is placed in the wide& (width) and high& (height) variables. The size is specified in the same terms (pixels or dialog units) as the parent dialog.

See also

Dynamic Dialog Tools, CONTROL GET LOC, CONTROL GET SIZE, CONTROL SET CLIENT, CONTROL SET CLIENT, CONTROL SET LOC, CONTROL SET SIZE, DIALOG UNITS, DIALOG PIXELS