This function provides a default message loop. Run acquires and dispatches Windows messages until the application receives a WM_QUIT message.
virtual int Run( );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CWinApp Overview, CWinApp Member Functions, Application Architecture Classes