Article ID: 45056
Article Last Modified on 11/21/2006
This article was previously published under Q45056
SUMMARY
The mouse pointer (cursor) in Macintosh QuickBASIC can be changed using the MBLC routine "ChangeCursor id%". The cursor may be returned to the default cursor with the INITCURSOR routine that is built into QuickBASIC. These routines are found on Pages 476 and 410, respectively, in the "Microsoft QuickBASIC for Apple Macintosh: Language Reference." Below is a demonstration of how these routines work.
MORE INFORMATION
The following sample program changes the mouse cursor shape from the standard arrow to a wristwatch, and then back again:
id% = 4 'Wristwatch cursor id number PRINT "Press any key to return the cursor to normal" ChangeCursor id% WHILE INKEY$ = "" : WEND CALL INITCURSOR END
Use id% = 1 for Text cursor 2 for Crosshairs cursor 3 for Cross-shaped cursor 4 for Wristwatch cursor
Additional query words: MQuickB
Keywords: KB45056