Muokkaa

Jaa


RB_SETBANDINFO message

Sets characteristics of an existing band in a rebar control.

Parameters

wParam

Zero-based index of the band to receive the new settings.

lParam

Pointer to a REBARBANDINFO structure that defines the band to be modified and the new settings. Before sending this message, you must set the cbSize member of this structure to the sizeof(REBARBANDINFO) structure. Additionally, you must set the cch member of the REBARBANDINFO structure to the size of the lpText buffer when RBBIM_TEXT is specified.

Return value

Returns nonzero if successful, or zero otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
RB_SETBANDINFOW (Unicode) and RB_SETBANDINFOA (ANSI)