Partager via


CReBarCtrl::ShowBand

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

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

Parameters

  • 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.

Return Value

Nonzero if successful; otherwise zero.

Requirements

Header: afxcmn.h

See Also

Concepts

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart

CReBarCtrl::SetBandInfo

CReBarCtrl::GetBandCount

CReBarCtrl::DeleteBand

CReBarCtrl::InsertBand

CReBarCtrl::GetBandInfo