Microsoft KB Archive/19865

Changing Screen Modes and Bad Cursor PSS ID Number: Q19865 Article last modified on 11-30-1993 PSS database name: H_Mouse

1.x 2.x 3.x 4.x 5.x 6.x 7.x 8.x

MS-DOS

= SUMMARY =

If you develop an application that uses the Microsoft Mouse, you may notice that your mouse cursor displays incorrectly and appears to use an incorrect screen mode.

This problem occurs because your program changes screen modes without proper precautions, which can cause your cursor to disappear or random pixels that seem to respond to mouse movement to appear.

When you code your application, hide the cursor before changing the screen mode, then show the cursor after the mode change.

For more information, refer to the Mouse Function 1 and 2 descriptions in the “Mouse Programming Reference.”

Additional reference words: 7.00 7.04 7.05 8.00 8.10 8.20 hide video 9.00

Copyright Microsoft Corporation 1993.