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


CReBarCtrl::MaximizeBand

Resizes a band in a rebar control to its largest size.

void MaximizeBand(
   UINT uBand 
);

Параметры

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

Заметки

Implements the behavior of the Win32 message RB_MAXIMIZEBAND with fIdeal set to 0, as described in the Windows SDK.

Пример

CReBarCtrl& refReBarCtrl = m_wndReBar.GetReBarCtrl();
UINT nCount = refReBarCtrl.GetBandCount();

for (UINT i = 0; i < nCount; i++)
   refReBarCtrl.MaximizeBand(i);   

Требования

Header: afxcmn.h

См. также

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

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart

CReBarCtrl::MinimizeBand

CReBarCtrl::RestoreBand