Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

WinMode

  • Last UpdatedJul 18, 2023
  • 1 minute read

Sets the display mode of the active Plant SCADA window.

Note:
• This function does not work with pinned windows.
• 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 code is returned.

WinNew

Example

! Iconize the active Plant SCADA window.
WinMode(7);

See Also

Window Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in