PDA

View Full Version : Determine current color depth on computer



ISDev2424
09-17-2003, 11:51 AM
I need to determine the current color settings on a computer. I realize GetSystemInfo() will return the "available" colors on a system... but how do you detect the current color settings on a computer?

Thanks a million,
ISDEV

dhesog
09-29-2003, 07:52 AM
Yes, GetSystemInfo() will return the available colors on a computer. To detect the current color setting of the computer, you have to use Windows API since there is no InstallScript function which directly retrieves this information.

Please refer MSDN or Microsoft website for information on any such Windows API.

Hope it helps!