[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SizeCursor WinTTT
Purpose To change the cursor shape/appearance.
Declaration SizeCursor(ScanTop,ScanBot: byte);
Scantop is the top scan line of the cursor
ScanBot is the bottom scan line of the cursor
Uses Crt, FastTTT, DOS, WinTTT.
Remarks. This procedure is called by OnCursor, OffCursor, HalfCursor
and FullCursor, and these other procedures should normally
be used in preference to SizeCursor because they
automatically accommodate monochrome and color systems.
The scan codes refer to the actual location of the top and
bottom of the cursor within a character field, where zero is
the top of the field (such as the top stroke of the letter T
-- got it?), and either 13 or 7 is the bottom of the field
on monochrome or color machines respectively.
The cursor can be hidden by setting the top scan line to 14
-- see OffCursor.
Example
USES CRT, FASTTTT, DOS, WINTTT;
BEGIN
IF BASEOFSCREEN = $B800 THEN
SIZECURSOR(5,7)
ELSE
SIZECURSOR(9,13);
END.
See Also:
FindCursor
OnCursor
OffCursor
HalfCursor
FullCursor
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson