| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== MODAL (set system modal window) ====== | [[min set total minimum .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[msg set status bar message .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **MODAL** {{blk2blue.jpg|blk2blue.jpg}} MODAL has no effect for 32-bit applications, and has been deprecated in this release. The Microsoft Win32 API does not support system modal windows. **Application Modal Windows** {{black.jpg|black.jpg}} A WINDOW without the MODAL attribute, may be either "application-modal" or "modeless." An application-modal window is a non-MDI window opened as the top window of an MDI execution thread. An application-modal window restricts the user from moving to another execution thread in the same application, but does not restrict them from changing to another Windows program. **Modeless Windows** {{black.jpg|black.jpg}} A modeless window is an MDI "child" WINDOW (with the MDI attribute) without the MODAL attribute. From a modeless window, The top window on other execution threads may be selected by the mouse, keyboard, or menu commands. If so, the other window takes focus and becomes uppermost on the video display. Any window not on the top of its execution thread may not be selected to receive focus, even from a modeless window. **Example:** ** Win2  WINDOW,MODAL    !A system-modal Window** **       END** **See Also:** [[mdi set mdi child window .htm|MDI]] [[thread set thread specific memory allocation .htm|THREAD]]