waitCursor
A wait cursor is a visual cue (such as an hour glass) used to indicate that a software is busy processing data. The waitCursor class provides methods and properties needed to open and control wait cursors.
EX1
void waitCursor_ex1() { int imax = 100000; waitCursor junk; // just need to declare this, no need to reference to it double aa = 0.5; DWORD dw1 = GetTickCount(); for(int ii = 0; ii < imax; ii++) aa = sin(aa) + ii * aa; printf("It took %d ms for %d loop\n",GetTickCount()-dw1,imax); }
origin.h