4D v13.4

Find window

Home

 
4D v13.4
Find window

Find window 


 

Find window ( left ; top {; windowPart} ) -> Function result 
Parameter Type   Description
left  Longint in Global left coordinate
top  Longint in Global top coordinate
windowPart  Longint in Window part ID number
Function result  WinRef in Window reference number

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, located in the Find Window theme:

Constant Type Value Comment
In contents Longint 3 Platform: Mac OS and Windows
In drag Longint 4 Platform: Mac OS
In go away Longint 6 Platform: Mac OS
In grow Longint 5 Platform: Mac OS
In menu bar Longint 1 Platform: Mac OS
In system window Longint 2 Platform: Mac OS
In zoom box Longint 8 Platform: Mac OS

 
PROPERTIES 

Product: 4D
Theme: Windows
Number: 449

Windows specific

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

Frontmost window
Next window