Sign in Join
FPDoc Onlineexperiment

TWidgetSet.GetSystemPaletteEntries function

Member of TWidgetSetpublicIn unit InterfaceBase

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

Declaration

pascal
function 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.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.