BUG: Graph Custom Control Text Disappears in EGA Video ModeLast reviewed: June 21, 1995Article ID: Q81949 |
The information in this article applies to:
- Professional Edition of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSWhen using the Visual Basic Graph custom control in an EGA video mode with the Graph control Background property value set to dark gray and the Foreground property value set to light gray, the text on the graph will disappear.
CAUSEThis is a known problem with Windows versions 3.0 and 3.1. This is not a problem with the Graph custom control or with Visual Basic.
STATUSMicrosoft has confirmed this to be a problem with Microsoft Windows versions 3.0 and 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWindows defines dark gray as the color created when red=128, blue=128, and green=128. Windows defines light gray as the color created when red=192, blue=192, and green=192. Windows, when given light gray text on a dark gray background in EGA video mode, alters the value of the text color to dark gray, which is the closest representation it can make in that video mode. The subsequent dark gray text on a dark gray background makes it appear as though the text has disappeared. The Visual Basic Graph custom control allows you to set the background and foreground colors to 16 predefined colors. Colors 7 and 8 are light gray and dark gray, respectively. Graph uses Windows values for dark gray and light gray, and so displays the same video problems as Windows itself.
Steps to Reproduce Problem
|
Additional reference words: 1.00 2.00 3.00 buglist3.00 buglist3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |