Compartilhar via


CReBarCtrl::GetRowCount

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

UINT GetRowCount( ) const;

Return Value

A UINT value that represents the number of band rows in the control.

Example

UINT nRowCount = m_wndReBar.GetReBarCtrl().GetRowCount();
CString msg;
msg.Format(_T("Row Count is %d"), nRowCount);
AfxMessageBox(msg);   

Requirements

Header: afxcmn.h

See Also

Reference

CReBarCtrl Class

Hierarchy Chart

CReBarCtrl::GetRowHeight

Other Resources

CReBarCtrl Members