RB_INSERTBAND

This message inserts a new band in a rebar control.

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 Values

Nonzero indicates success. Zero indicates otherwise.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

REBARBANDINFO

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.