Export (0) Print
Expand All

CImage::SetColorTable

Sets the red, green, blue (RGB) color values for a range of entries in the palette of the DIB section.

void SetColorTable( 
   UINT iFirstColor, 
   UINT nColors, 
   const RGBQUAD* prgbColors  
) throw( );

iFirstColor

The color table index of the first entry to set.

nColors

The number of color table entries to set.

prgbColors

A pointer to the array of RGBQUAD structures to set the color table entries.

This method supports only DIB section bitmaps.

Header: atlimage.h

Community Additions

ADD
Show:
© 2015 Microsoft