Call this member function to make a frame window modal.
virtual void BeginModalState( );
| 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