winframe class : WindowState getter
Description
Gets a value that indicates the state of a window.
Syntax
winframeInstance.WindowState
Arguments
None
Return value
Class | Description |
int | A value that indicates the state of a window. |
Sample code
1: | wfpool wfp; |
2: | winframe winframeIns = wfp.GetActive(); // Gets a window that has focus. |
3: | int state = winframeIns.WindowState; |
Notes
This getter returns 1 if the window is displayed at normal size.
It returns 2 if the window is minimize.
It returns 3 if the window is maximize.
Links for reference
None.