Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message inserts a new band in a rebar control.

Syntax

RB_INSERTBAND 
wParam = (WPARAM)(UINT) 
uIndex;

lParam = (LPARAM)(LPREBARBANDINFO) 
lprbbi;

Parameters

uIndex

Zero-based index of the location where the band will be inserted. If you set this parameter to –1, the control will add the new band at the last location.

lprbbi

Long pointer to a REBARBANDINFOstructure that defines the band to be inserted. Set the cbSizemember of this structure to sizeof(REBARBANDINFO)before sending this message.

Return Value

Nonzero indicates success. Zero indicates otherwise.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

REBARBANDINFO