Udostępnij za pośrednictwem


CReBarCtrl::GetRowHeight

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

UINT GetRowHeight(
   UINT uRow 
) const;

Parameters

  • uRow
    Zero-based index of the band that will have its height retrieved.

Return Value

A UINT value that represents the row height, in pixels.

Example

int nCount = m_wndReBar.GetReBarCtrl().GetRowCount();
for (int i = 0; i < nCount; i++)
{
   UINT nHeight = m_wndReBar.GetReBarCtrl().GetRowHeight(i);
   CString msg;
   msg.Format(_T("Height of row %d is %u"), i, nHeight);
   AfxMessageBox(msg);
}   

Requirements

Header: afxcmn.h

See Also

Reference

CReBarCtrl Class

Hierarchy Chart

CReBarCtrl::GetRowCount

Other Resources

CReBarCtrl Members