LookUpColorInDIBPalette

Description     This method will check to see if the specified color exists in the palette of the DIB and it will return the palette index entry of the color or -1 if the color is not found.

Syntax                 RetVal = [BiDib.] LookupColorInDIBPalette hDIB Color

Remarks             RetVal                    Int                   -1 if the color is not found, palette index entry on success.

                            hDib                       LONGLONG The handle of a device independent bitmap.

                            Color                      Long                The Color Reference.

See Also