CreateDIBPalette  Method

Description         Creates a palette from the given device independent bitmap. The returned handle is compatible with the standard Picture object hPal property.

Syntax                 Palette = [BiDib.]CreateDIBPalette Dib

Remarks             Palette                    LONGLONG The handle of a palette.

                            Dib                          LONGLONG The handle of a device independent bitmap.

See Also              ConvertBitmapToDIB Method, InvertDIBPalette Method