Previous Topic: &MAIUNLCK

Next Topic: &NDBERRI


&MAIWNDOW

Indicates the MAI-FS session's visibility.

A value of FOREGROUND is returned when the application is currently displayed. BACKGROUND indicates that the session is not displayed.

Example: &MAIWNDOW

&IF &MAIWNDOW =

Note: A value of BACKGROUND will be returned wherever the MAI session is not displayed. This includes whenever an NCL &PANEL statement has taken over the window, for example from the script itself, session help or broadcasts.