How to check current system Color Palette setting? 
Author Message
 How to check current system Color Palette setting?

I am using VB 6 Enterprise.

How can I check the current setting of system color palette from VB (i.e.
using VB or Win API function). i would like to know whether it's 16 colors,
256 colors, True Color, etc...

Any help will be highly appreciated

Thanks

Khodr



Mon, 06 Aug 2001 03:00:00 GMT  
 How to check current system Color Palette setting?
On Thu, 18 Feb 1999 11:08:13 -0500, "Khodr Ghattas"

?I am using VB 6 Enterprise.
?
?How can I check the current setting of system color palette from VB (i.e.
?using VB or Win API function). i would like to know whether it's 16 colors,
?256 colors, True Color, etc...

You can use the GetDeviceCaps API function call to do this. There is a
16-bit example at
http://support.microsoft.com/support/kb/articles/q114/7/09.asp which
you can easily convert to 32-bit.

Paul
~~~~



Fri, 10 Aug 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to check System Color Palette?

2. setting all foreground and bkground colors to use window's current color setting

3. Getting the palette color of a system color

4. Getting the palette color of a system color

5. Determining current system color setting

6. color palette not accessible in 256+ color settings

7. Detecting a system's color palette

8. Palette / System Color Dialog

9. Palette / System Color Dialog

10. Palette / System Color Dialog

11. Outline to set a loaded image palette to windows palette keeping system colors???

12. Help setting color palette values

 

 
Powered by phpBB® Forum Software