次の方法で共有


CReBarCtrl::GetRowCount

Windows SDKに記述されている Win32 メッセージの動作を RB_GETROWCOUNT実行します。

UINT GetRowCount( ) const;

戻り値

バンドの数を表す uint の値は、コントロールに行。

使用例

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

必要条件

ヘッダー: afxcmn.h

参照

関連項目

CReBarCtrl クラス

階層図

CReBarCtrl::GetRowHeight