Share via


CReBarCtrl::GetBandInfo

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

BOOL GetBandInfo( 
   UINT uBand, 
   REBARBANDINFO* prbbi  
) const;

Parameters

  • uBand
    Zero-based index of the band for which the information will be retrieved.

  • prbbi
    A pointer to a REBARBANDINFO structure to receive the band information. You must set the cbSize member of this structure to sizeof(REBARBANDINFO) and set the fMask member to the items you want to retrieve before sending this message.

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::ShowBand