CReBarCtrl::DeleteBand

BOOL DeleteBand( UINT uBand );

Return Value

Nonzero if the band deleted successfully; otherwise zero.

Parameters

uBand

Zero-based index of the band to be deleted.

Remarks

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

Example

   UINT nCount = m_wndReBar.GetReBarCtrl().GetBandCount();

   if (nCount > 0)
      m_wndReBar.GetReBarCtrl().DeleteBand(nCount - 1);

CReBarCtrl OverviewClass MembersHierarchy Chart