rascal
asked on
How to detect Number of Colors currently set
I am writing a dialog to show bmp files but the bmp files were created with more than 256 colors so I need to know if the user's current screen settings are set to greater than 256 colors. Is there a way to detetermine this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
CClientDC dc(NULL);// get screen DC
i=dc.GetDeviceCaps(...);
// need not release the DC