BUG: SETCOLORTABLE Escape Disables Dithering (85596)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q85596 SYMPTOMS
When 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.
RESOLUTION
To 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)
STATUS
Microsoft 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.
Modification Type: | Major | Last Reviewed: | 11/6/1999 |
---|
Keywords: | KB85596 |
---|
|