BUG: SETCOLORTABLE Escape Disables DitheringLast reviewed: January 5, 1995Article ID: Q85596 |
The information in this article applies to:
SYMPTOMSWhen the VGAPAL video driver is installed on a system, once an application calls the SETCOLORTABLE escape to change an entry in the color table associated with a device context, Windows does not create any dithered brushes for that device context. Instead, Windows returns the solid brush that most closely matches the requested color.
RESOLUTIONTo work around this problem, reset the color table to its original state by specifying NULL as the value of the lpInData and lpOutData parameters in a call to the SETCOLORTABLE escape, as follows:
Escape(hDC, SETCOLORTABLE, 0, NULL, NULL) STATUSMicrosoft has confirmed this to be a bug in Windows version 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe SETCOLORTABLE escape is documented on pages 500 and 501 of the "Microsoft Software Development Kit: Programmer's Reference, Volume 3: Messages, Structures and Macros" manual. The comments regarding this escape state the following:
|
Additional reference words: buglist3.10 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |