This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
Find window
|
Find window ( left ; top {; windowPart} ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
left | Longint |
![]() |
Global left coordinate | |||||
top | Longint |
![]() |
Global top coordinate | |||||
windowPart | Longint |
![]() |
3 if window is "touched", 0 otherwise | |||||
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).
The windowPart parameter returns 3 if the window is touched, and 0 otherwise. (Compatibility note: Starting with 4D v14, the constants of the Find Window theme are obsolete).
Product: 4D
Theme: Windows
Number:
449
Created: 4D v6
Modified: 4D v14
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)