다음을 통해 공유


CReBarCtrl::DeleteBand

Implements the behavior of the Win32 message RB_DELETEBAND, as described in the Windows SDK.

BOOL DeleteBand(
   UINT uBand 
);

Parameters

  • uBand
    Zero-based index of the band to be deleted.

Return Value

Nonzero if the band deleted successfully; otherwise zero.

Example

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

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

Requirements

Header: afxcmn.h

See Also

Concepts

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart