RB_SETPALETTE message
Sets the rebar control's current palette.
Parameters
-
wParam
- Must be zero.
-
lParam
-
An HPALETTE that specifies the new palette that the rebar control will use.
Return value
Returns an HPALETTE that specifies the rebar control's previous palette.
Remarks
It is the responsibility of the application sending this message to delete the HPALETTE passed in this message (see DeleteObject). The rebar control will not delete an HPALETTE set with this message.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|