共用方式為


CReBarCtrl::GetBandCount

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

UINT GetBandCount( ) const;

Return Value

The number of bands assigned to the control.

Requirements

Header: afxcmn.h

See Also

Concepts

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart

CReBarCtrl::GetBandInfo

CReBarCtrl::SetBandInfo

CReBarCtrl::DeleteBand

CReBarCtrl::InsertBand

CReBarCtrl::ShowBand