Share via


RB_INSERTBAND (Compact 2013)

3/28/2014

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 REBARBANDINFO structure that defines the band to be inserted. Set the cbSize member of this structure to sizeof(REBARBANDINFO) before sending this message.

Return Value

Nonzero indicates success. Zero indicates otherwise.

Requirements

Header

commctrl.h

See Also

Reference

Rebar Controls Messages
REBARBANDINFO