WinMode
Sets the display mode of the active CitectSCADA window.
Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised.
Syntax
WinMode(Mode)
Mode:
The mode:
0 - Hide the window.
2 - Activate the window in an iconized state.
3 - Activate the window in a maximized state.
4 - Display the window in its previous state without activating it.
5 - Activate the window in its current state.
6 - Iconize the window.
7 - Display the window in an iconized state without activating it.
8 - Display the window in its current state without activating it.
9 - Activate the window in its previous state.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
! Iconize the active CitectSCADA window.
WinMode(7);
See Also