CAViewer::SetCustomPalette

CAViewer class

Creates a custom palette.

BOOL SetCustomPalette(
  void *paletteData
  );

Parameters

paletteData
A pointer to a 1024-byte data array that defines the custom palette.

Return Value

Returns TRUE if the operation was successful; otherwise, FALSE.

Remarks

The palette won't be displayed in the Graph View until CAViewer::SetPaletteId(USER_DEFINED) is called.

See Also

CAViewer::::SetPaletteId, CAViewer::GetCustomPalette