version 6.0
Window kind {(window)}
| Parameter | Type | Description | |
| window | WinRef | Window reference number, or | |
| Frontmost window of current process, if omitted |
Description
The command Window kind returns the 4th Dimension type of the window whose reference number is passed in window. If the window does not exist, Window kind returns 0 (zero).
Otherwise, Window kind may return one of the following values:
| Constant | Type | Value |
| Regular window | Long Integer | 8 |
| Modal dialog | Long Integer | 9 |
| External window | Long Integer | 5 |
| Floating window | Long Integer | 14 |
If you omit the window parameter, Window kind returns the type of the frontmost window for the current process.
Example
Set example for the command WINDOW LIST.
See Also
GET WINDOW RECT, Get window title, Window process.