RB_GETBANDINFO message

Retrieves information about a specified band in a rebar control.

Parameters

wParam

Zero-based index of the band for which the information will be retrieved.

lParam

Pointer to a REBARBANDINFO structure that will receive the requested band information. Before sending this message, you must set the cbSize member of this structure to the size of the REBARBANDINFO structure and set the fMask member to the items you want to retrieve. 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_GETBANDINFOW (Unicode) and RB_GETBANDINFOA (ANSI)

See also

RB_SETBANDINFO