CReBarCtrl::InsertBand

BOOL InsertBand( UINT uIndex, REBARBANDINFO* prbbi );

Return Value

Nonzero if successful; otherwise zero.

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.

prbbi

A 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 calling this function.

Remarks

This member function implements the behavior of the Win32 message RB_INSERTBAND, as described in the Platform SDK.

CReBarCtrl OverviewClass MembersHierarchy Chart