Important: The information in this document is obsolete and should not be used for new development.
RotateCursorYou can use the
RotateCursorprocedure 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 RotateCursor (counter: LongInt);
- An incrementing or decrementing index maintained by your application. When the index is a multiple of 32, the next cursor frame is used in the animation. A positive counter moves forward through the cursor frames, and a negative counter moves backward through the cursor frames.
RotateCursorprocedure animates whatever sequence of cursors you set up by using the
InitCursorCtlprocedure. If the value of
counteris a multiple of 32, the
RotateCursorprocedure calls the
SetCursorprocedure to set the cursor to the next cursor frame.
RotateCursordoes not show the cursor if it is currently hidden. If the cursor is hidden, you can show it by making a call to
Show_Cursor(both described on page 8-28).
SEE ALSOFor an example of using the
RotateCursorprocedure, see Listing 8-3 on page 8-13.