| 4D v14.4Window kind | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v14.4
 Window kind 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Window kind {( window )} -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| window | WinRef |   | Window reference number, or Frontmost window of current process, if omitted | |||||
| Function result | Longint |   | Type of window | |||||
The Window kind command returns the 4D 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 predefined constants found in the Window Kind theme:
| Constant | Type | Value | 
| External window | Longint | 5 | 
| Floating window | Longint | 14 | 
| Modal dialog | Longint | 9 | 
| Regular window | Longint | 8 | 
If you omit the window parameter, Window kind returns the type of the frontmost window for the current process.
See example for the WINDOW LIST command.
	Product:  4D
	Theme:  Windows
	Number:  
        445
        
        
        
	
	Created:  4D v6
	
	
	
	
	
	
	4D Language Reference ( 4D v15)
	4D Language Reference ( 4D v14.4)
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	
	
	4D Language Reference ( 4D v15.3)
	
	
 Add a comment
Add a comment