2.2.6.31 waitCursor


Name

waitCursor

Remark

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.

Hierarchy

  • waitCursor

Examples

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);
}

Header to Include

origin.h

Reference

Members

Name Brief Example
CheckEsc The CheckEsc method allows a program to capture user hitting ESC to abort the current operation Examples
waitCursor