[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Selects a logical palette into an device context.
Source position: winapih.inc line 236
public function TWidgetSet.SelectPalette( |
DC: HDC; |
Palette: HPALETTE; |
ForceBackground: Boolean |
):HPALETTE; virtual; |
DC |
|
The device context. |
Palette |
|
The palette to select. |
ForceBackground |
|
True to select the background palette. |
The handle of the previously selected palette.
A foreground palette becomes the palette for the device when the application is in the foreground. A background palette instead is mapped to the closest colors in the palette for the physical device.
Version 4.0 | Generated 2025-05-03 | Home |