Microsoft KB Archive/35897

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:21, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q35897 to Microsoft KB Archive/35897 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Unable to Read Current Cursor Position

PSS ID Number: Q35897 Article last modified on 11-02-1994

4.00

MS-DOS

SUMMARY

Memory programs that attempt to obtain the position of Word’s cursor by reading the current position of the hardware cursor do not receive the correct value. This situation occurs because Word Version 4.00 disables the hardware cursor and implements its own software-generated cursor. The current location of the software-generated cursor is internally stored in Word and cannot be accessed by other programs.

MORE INFORMATION

BIOS INT 10H Function 03H is the “industry standard” method of obtaining the current cursor position and the method recommended by IBM. Programs that attempt to obtain the current cursor location by other means, such as reading information directly from the video card or from the Video Display Data Area located in RAM, will be unable to obtain Word’s cursor location.

An indication that a program is using one of these unsupported methods is that the program will report Word’s cursor location at 0,0 (Row 0, Column 0) no matter where the cursor is positioned on the screen.

KBCategory: kbother KBSubcategory: Additional reference words:

============================================================================= Copyright Microsoft Corporation 1994.