CMFCRibbonBaseElement::StretchToWholeRow

Changes the display height of the ribbon element to the specified row height.

virtual BOOL StretchToWholeRow(
   CDC* pDC,
   int nHeight
);

Parameters

  • [in] pDC
    This parameter is not used.

  • [in] nHeight
    The height of the row.

Return Value

TRUE if the display height was set; otherwise, FALSE.

Remarks

Override this method to change the display height of the ribbon element to the specified row height.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart