Sets the color depth of the image list.


ColorDepth = Long

Property Value

One of the ColorDepth values. The default is Depth8Bit.


When you set the color depth to a new value, the handle for the image list is recreated. All images stored in the control are lost, therefore set ColorDepth prior to populating the image list.

See Also

Applies To: ImageList

The CHM file was converted to HTML by chm2web software.