
Determining system color setting
?
? Hi all,
?
? I need to know how to determine the current system color setting
(e.g.,
? 256, 65K, High Color, True Color, etc.) and change it if necessary.
This
? needs to work for Windows 3.x and 95/NT; I'm using VB3.0 Pro. I have
the
? MS SDK (books, CD's, etc.) but can't seem to find what I'm looking
for.
? I'd appreciate it if someone could point me in the right direction.
Hi Mike,
I think what you are looking for is Get/SetSystemPalette.
A word of caution - changing the users system colours is dependant on so
many
factor (ie video cards, video memory, available screen resolutin ....)
that it is NOT
advisable to change the system but to change your app in the way it
looks.
You must remember that under Windows you can have multiple apps running
simultaneously and by changing the settings you may indavertantly upset
another
app (changing someones system is not a very friendly thing to do)
--
Regards