CReBarCtrl::SetPalette
Implements the behavior of the Win32 message RB_SETPALETTE, as described in the Windows SDK.
CPalette* SetPalette(
HPALETTE hPal
);
Параметры
- hPal
An HPALETTE that specifies the new palette that the rebar control will use.
Возвращаемое значение
A pointer to a CPalette object specifying the rebar control's previous palette.
Заметки
Note that this member function uses a CPalette object as its return value, rather than an HPALETTE.
Требования
Header: afxcmn.h