PaletteHandle

 

Type

 

OLE_HANDLE

 

Description

 

This property accepts an HPALETTE to be used as the default palette. When set to zero (the default), the built-in 6x6x6 browser palette is used. The PaletteForceBackground property is honored in both cases.

 

Example

 

REM Use a custom palette:

WebsterPro1.PaletteHandle = hMyPalatte

 

Remarks

 

Set this property to the HPALETTE of a container-owned palette to override the default palette or to zero to revert to the default palette. The default palette is the standard 6x6x6 browser palette (“browser CLUT”), consisting of RGB color values which are multiples of 51.