RB_INSERTBAND message

Inserts a new band in a rebar control.

Parameters

wParam

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.

lParam

Pointer to a REBARBANDINFO structure that defines the band to be inserted. You must set the cbSize member of this structure to sizeof(REBARBANDINFO) before sending this message.

Return value

Returns nonzero if successful, or zero otherwise.

Requirements

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_INSERTBANDW (Unicode) and RB_INSERTBANDA (ANSI)

 

 

Show: