http://www.vb-helper.com/HowTo/colormode.zip

	Purpose
Find the system's color depth (bits per pixel)

	Method
Use the GetDeviceCaps API function with the BITSPIXEL flag.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
