
How to Determine Color Depth?
--------------FFBF705A7B983F52C0767E47
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am currently developing a Visual Basic 5 application that will be used
on both Windows 95 and NT computers. The application contains several
large BMP images. Two different versions of each image are available (a
256-color version and a 24-bit color version). If the color depth of
the user's display is less than 16-bit color, I would like to display
the 256-color version. Otherwise, the 24-bit color version should be
displayed. How can I test to determine the display color depth on a
user's computer? Is there an API call for doing this?
Thanks,
Matthew J. Ricciardi
MicroServices
--------------FFBF705A7B983F52C0767E47
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
I am currently developing a Visual Basic 5 application that will be used
on both Windows 95 and NT computers. The application contains several
large BMP images. Two different versions of each image are available
(a 256-color version and a 24-bit color version). If the color depth
of the user's display is less than 16-bit color, I would like to display
the 256-color version. Otherwise, the 24-bit color version should
be displayed. How can I test to determine the display color depth
on a user's computer? Is there an API call for doing this?
<P>Thanks,
<P>Matthew J. Ricciardi
<BR>MicroServices
--------------FFBF705A7B983F52C0767E47--