PyCDC.SelectPalette

int = SelectPalette(hPalette, forceBackground )

Sets the logical palette.

Parameters

hPalette : int

The handle to the palette

forceBackground : int

Specifies whether the logical palette is forced to be a background palette.

MFC References

CDC::SelectePalette

Return Value

The previous palette handle.