
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
~~~~