CMFCRibbonBar::SetWindows7Look

Enables or disables Windows 7 look (small rectangular application button) for the Ribbon.

void SetWindows7Look(
   BOOL bWindows7Look,
   BOOL bRecalc = TRUE
);

Parameters

  • bWindows7Look
    TRUE sets Windows 7 look; FALSE otherwise.

  • bRecalc
    TRUE recalculates the ribbon layout; FALSE otherwise.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class