Programmer Guide/Macro Library/GETWINDOWPOS: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 18:31, 18 November 2010

GETWINDOWPOS

Retrieve position and size of specified window. If a variable name var is supplied, the return value is also stored in this variable along with the window style. The returned position is always the position a DISPLAY. If wdw is the name of a DIALOG, the position/size of the associated display is returned. Note that x and y can be negative.

Usage:

GETWINDOWPOS wdw [ var ]

Parameters:
wdw
The name of a display or dialog item.
var
The name of a global, shell or instance variable.
Result:

The position and size of window associated with wdw in pixels:

x y w h

If var is specified, the position and size as well as the window style are assigned to var in the following format: x y w h style

see also:

GETDESKTOP, GETMONITOR, SETWINDOWPOS

Navigation menu

Personal tools