共用方式為


CMFCRibbonBar::SetActiveMDIChild

Associates the system buttons on the ribbon bar that belong to a multiple-document interface (MDI) child window to the specified MDI child window.

void SetActiveMDIChild(
   CWnd* pWnd
);

Parameters

  • [in] pWnd
    Pointer to an MDI child window.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart