[ TDx_DrawPalette ]
[ prev: LoadFromResource() ]
public:
virtual bool __fastcall SetEntries( dword pStartingEntry, dword pCount, PALETTEENTRY* pEntries );
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Parameters
See Also
The
TDx_DrawPalette::SetEntries
method
will
change
the
color
entries
in
a
palette.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_NOPALETTEATTACHED
DDERR_NOTPALETTIZED
DDERR_UNSUPPORTED
PARAMETERS
Top
See Also
StartingEntry
The StartingEntry parameter defines the palette index of the first entry to be set.
Count
The Count parameter defines the number of palette entries to be set.
Entries
The Entries parameter references the PALETTEENTRY 's that are to replace those being changed.
Palette entries will be 4 bytes each unless DDPCAPS_8BITENTRIES is set, in which case each entry will be 1 byte.
SEE ALSO
Top
Parameters