Compartir a través de


CReBarCtrl::GetRowHeight

Implementa el comportamiento del mensaje RB_GETROWHEIGHTde Win32, como se describe en Windows SDK.

UINT GetRowHeight(
   UINT uRow 
) const;

Parámetros

  • uRow
    Índice basado Cero- de banda que tendrá el alto recuperado.

Valor devuelto

Un valor de UINT que representa el alto de fila, en píxeles.

Ejemplo

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);
}   

Requisitos

encabezado: afxcmn.h

Vea también

Referencia

Clase de CReBarCtrl

Gráfico de jerarquía

CReBarCtrl::GetRowCount