[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Set_Mouse_Cursor_Style KeyTTT
Purpose To change the appearance of the mouse cursor.
Declaration Set_Mouse_Cursor_Style(OrdChar:integer);
OrdChar is the ASCII code for the desired cursor character.
Uses CRT, DOS, KeyTTT.
Remarks In text mode the shape of the mouse cursor can be any of the
displayable ASCII characters - you can even make the cursor
the letter 'C' if you feel so inclined!
The default cursor is a small rectangle. Once the cursor
style has been modified, it will assume the new style until
the mouse is re-installed (usually from a reboot), or until
this procedure changes it again.
Refer to page 568 of the Turbo Pascal Owner's Handbook for a
list of the ASCII characters and codes.
Example
USES CRT, DOS, KEYTTT;
BEGIN
SET_MOUSE_CURSOR_STYLE(29);
END.
The cursor is changed to a double headed arrow.
See Also:
Show_Mouse_Cursor
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson