GetPalette method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax OLE_HANDLE GetPalette (OLE_HANDLE hDC);

Overview:  Refer to Managing Palettes

Remarks

Returns the handle to the palette used by the specified device context.

Use this method with the SetDDB method to specify the DDB's palette.

See Also

Topics:  Raster Images: Palettes