4D v14.3Find window |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
Find window
|
Find window ( left ; top {; windowPart} ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
left | Longint |
![]() |
Global left coordinate | |||||
top | Longint |
![]() |
Global top coordinate | |||||
windowPart | Longint |
![]() |
Window part ID number | |||||
Function result | WinRef |
![]() |
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 |
Product: 4D
Theme: Windows
Number:
449
Created: 4D v6
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)