Call this member function to determine whether a frame window is modal or modeless.
BOOL InModalState( ) const;
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows