GETSIZE

Top  Previous  Next

Syntax

GETSIZE(win as WINDOW, l as INT BYREF,t as INT BYREF,w as INT BYREF,h as INT BYREF,OPT id=0 as UINT)

Description

Gets the size of a window, dialog or control. The dimensions returned include the borders and caption.

Parameters

win - [in] Window or dialog

l, t, w, h - [out] Variables to receive the dimensions

id - [in] Optional control identifier.

Return value

None

Remarks

Variables must be of type INT. Coordinates are returned relative to the screen.

See Also: SETSIZE

Example usage

DEF l,t,w,h  as INT
GETSIZE mywindow, l, t, w, h