CReBarCtrl::GetRowHeight

UINT GetRowHeight( UINT uRow ) const;

Return Value

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

Parameters

uRow

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

Remarks

This member function implements the behavior of the Win32 message RB_GETROWHEIGHT, as described in the Platform SDK.

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("Height of row %d is %u", i, nHeight);
   AfxMessageBox(msg);
}

CReBarCtrl OverviewClass MembersHierarchy Chart

See Also   CReBarCtrl::GetRowCount