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


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

Reference

CReBarCtrl Class

Hierarchy Chart

CReBarCtrl::SetBandInfo

CReBarCtrl::GetBandCount

CReBarCtrl::DeleteBand

CReBarCtrl::InsertBand

CReBarCtrl::GetBandInfo

Other Resources

CReBarCtrl Members