DESKTOP GET SIZE statement

Purpose

Retrieve the size of the entire desktop, in pixels.

Syntax

DESKTOP GET SIZE TO ncWidth&, ncHeight&

Remarks

The desktop size includes the space taken up by the system tray and is same as the screen size. This can be used in combination with DESKTOP GET CLIENT or DESKTOP GET LOC for exact positioning of windows on the desktop.

See also

DESKTOP GET CLIENT, DESKTOP GET LOC