Thread View: comp.windows.ms.programmer
1 messages
1 total messages
Started by David J. Lee
Fri, 17 Apr 1992 00:25
GetSysColor() returs bogus values
Author: David J. Lee
Date: Fri, 17 Apr 1992 00:25
Date: Fri, 17 Apr 1992 00:25
14 lines
1040 bytes
1040 bytes
Why is it that GetSysColor() returns 0x10xxxxxx for some colors? I looked in my control.ini and sure enough, some of the colors (including those shipped with Win 3.1 like Black Leather Jacket and The Blues) are 0x10E0E0. I thought GetSysColor() would only return an RGB, with the high-order byte set to 0. I've heard of the high-order byte being 0x01 or 0x02 (for purposes other than GetSysColor()), but never 0x10. What gives? This there some special significance to this value? Many of my company's customers have such values in their control.ini as well. This is bad because it breaks our product. Thanks for any response.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads