Поделиться через


CReBarCtrl::DeleteBand

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

BOOL DeleteBand(
   UINT uBand 
);

Параметры

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

Возвращаемое значение

Nonzero if the band deleted successfully; otherwise zero.

Пример

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

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

Требования

Header: afxcmn.h

См. также

Основные понятия

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart