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


CReBarCtrl::ShowBand

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

BOOL ShowBand(
   UINT uBand,
   BOOL fShow = TRUE 
);

Параметры

  • uBand
    Zero-based index of a band in the rebar control.

  • fShow
    Indicates if the band should be shown or hidden. If this value is TRUE, the band will be shown. Otherwise, the band will be hidden.

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

Nonzero if successful; otherwise zero.

Требования

Header: afxcmn.h

См. также

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

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart

CReBarCtrl::SetBandInfo

CReBarCtrl::GetBandCount

CReBarCtrl::DeleteBand

CReBarCtrl::InsertBand

CReBarCtrl::GetBandInfo