QuickWin Function: Gets the size and position of a window.
Module: USE DFLIB
Syntax
TYPE QWINFO
INTEGER(2) TYPE ! request type (controls
! SETWSIZEQQ)
INTEGER(2) X ! x coordinate for upper left
INTEGER(2) Y ! y coordinate for upper left
INTEGER(2) H ! window height
INTEGER(2) W ! window width
END TYPE QWINFO
Results:
The result is of type INTEGER(4). The result is zero if successful; otherwise, nonzero.
The position and dimensions of child windows are expressed in units of character height and width. The position and dimensions of the frame window are expressed in screen pixels.
The height and width returned for a frame window reflects the size in pixels of the client area excluding any borders, menus, and status bar at the bottom of the frame window. You should adjust the values used in SETWSIZEQQ to take this into account.
The client area is the area actually available to place child windows.
Compatibility
QUICKWIN GRAPHICS LIB
See Also: GETWINDOWCONFIG, SETWSIZEQQ, Using QuickWin