Find window

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


Find window (left; top{; windowPart}) WinRef

ParameterTypeDescription
leftNumberGlobal left coordinate
topNumberGlobal top coordinate
windowPartNumberWindow part ID number
Function resultWinRefWindow reference number

Description

The Find window command returns (if any) the reference number of the first window "touched" by the point whose coordinates passed in left and top.

The coordinates must be expressed relative to the top left corner of the contents area of the application window (Windows) or to the main screen (Macintosh).

If you specify the windowPart parameter, whether or not a window has been found, the parameter returns one of the following values:

ConstantsTypeValuePlatform
In menu barLong Integer1Macintosh only
In system windowLong Integer2Macintosh only
In contentsLong Integer3Windows or Macintosh
In dragLong Integer4Macintosh only
In growLong Integer5Macintosh only
In go awayLong Integer6Macintosh only
In zoom boxLong Integer7Macintosh only

See Also

Frontmost window, Next window.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next