Important: The information in this document is obsolete and should not be used for new development.
SetCCursor
You use theSetCCursor
procedure to specify a color cursor for display on the screen.
PROCEDURE SetCCursor (cCrsr: CCrsrHandle);
cCrsr
- A handle to the color cursor to be displayed.
DESCRIPTION
TheSetCCursor
procedure allows your application to set a color cursor for display on the screen. At the time the cursor is set, it's expanded to the current screen depth so that it can be drawn rapidly. You must callGetCCursor
before you callSetCCursor
; however, you can make several subsequent calls toSetCCursor
onceGetCCursor
creates theCCrsr
record.If your application has changed the cursor's data or its color table, it must also invalidate the
crsrXValid
andcrsrID
fields of theCCrsr
record before callingSetCCursor
.