[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.GetSystemPaletteEntries

Retrieves an range of color entries from the system palette for a device.

Declaration

Source position: winapih.inc line 147

public function TWidgetSet.GetSystemPaletteEntries(

  DC: HDC;

  StartIndex: UINT;

  NumEntries: UINT;

  var PaletteEntries

):UINT; virtual;

Arguments

DC

  

The device context.

StartIndex

  

The first entry to retrieve.

NumEntries

  

The number of requested entries.

PaletteEntries

  

Receives the color information. When Nil, the total number of palette entries is returned.

Function result

The number of entries copied, zero on failure.

See also

TWidgetSet.GetPaletteEntries

  

Retrieves an range of color entries from a logical palette.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.