SetDIBClrUsed  Method

Description         This methods specifies the number of color indexes in the color table that are actually used. The method sets this value in the bitmap info header.

Syntax                 RetVal = [BiDib.] SetDIBClrUsed Dib ClrUsed

Remarks             RetVal                    BOOL             TRUE on success, otherwise FALSE.

                            Dib                          LONGLONG The handle of a device independent bitmap.

                            ClrUsed                  Long                The number of color indexes in the color table that are actually used.

 

See Also