Important: The information in this document is obsolete and should not be used for new development.
SpinCursorYou can use the
SpinCursorprocedure to display an animated cursor when your application performs a medium-length operation that might cause the user to think that the computer has quit working.
PROCEDURE SpinCursor (increment: Integer);
- A value that determines the sequencing direction of the cursor. A positive increment moves forward through the cursor frames, and a negative increment moves backward through the cursor frames. A 0 value for the increment resets the counter to 0 and steps to the next cursor frame.
SpinCursorprocedure is similar to the
RotateCursorprocedure except that, instead of passing a counter, you pass a value that indicates which direction to spin the cursor. Your application is responsible for determining the proper intervals at which to call
SpinCursor. Your application specifies the increment to be counted, either positive or negative, and
SpinCursoradds the increment to its counter. The sign of the increment, not the sign of the accumulated value of the
SpinCursorcounter, determines the cursor's direction of spin.
SEE ALSOFor an example of using the
SpinCursorprocedure, see Listing 8-4 on page 8-13.