[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
GetCursorPos

Obtaining the cursor position and size

To obtain the cursor position and size of the cursor, use the following interrupt.

Interupt 10h
AH = 03h
BH = page number
0-3 in modes 2&3
0-7 in modes 0&1
0 in graphics modes


Return:
CH = start scan line
CL = end scan line
DH = row (00h is top)
DL = column (00h is left)


last edited (December 13, 2002) by Doctor Slush, Number of views: 2441, Current Rev: 3 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.