CReBarCtrl::GetRowCount

实现Win32消息 RB_GETROWCOUNT的行为,如 Windows SDK所述。

UINT GetRowCount( ) const;

返回值

表示带区的数字的 UINT 值在控件的行。

示例

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

要求

Header: afxcmn.h

请参见

参考

CReBarCtrl Class

层次结构图

CReBarCtrl::GetRowHeight