To display a wait cursor, just declare a CWaitCursor object before the code that performs the lengthy operation. The default constructor automatically causes the wait cursor to be displayed.
CWaitCursor( );
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CWaitCursor Overview, CWaitCursor Member Functions, Support Classes, CWaitCursor::Restore, CCmdTarget::BeginWaitCursor, CCmdTarget::EndWaitCursor