Important: The information in this document is obsolete and should not be used for new development.
Changing the Pixel Depth for a Video Device
The Monitors control panel is the user interface for changing the pixel depth, color capabilities, and positions of video devices. Since the user can control the capabilities of the video device, your application should be flexible: although it may have a preferred pixel depth, your application should do its best to accommodate less than ideal conditions.If it is absolutely necessary for your application to draw on a video device of a specific pixel depth, your application can use the
SetDepth
function to change its pixel depth. Before callingSetDepth
, use theHasDepth
function to determine whether the available hardware can support the pixel depth you require.
Subtopics
- HasDepth
- SetDepth