CMFCColorButton::RebuildPalette

Initializes the m_pPalette protected data member to the specified palette or the default system palette.

void RebuildPalette(
   CPalette* pPal
);

Parameters

Parameter

Description

[in] pPal

A pointer to a logical palette or NULL. If NULL, the default system palette is used.

Requirements

Header: afxcolorbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCColorButton Class

CPalette Class