共用方式為


CMFCRibbonPanel::SetFocused

Sets focus to the specified Ribbon element.

void SetFocused(
   CMFCRibbonBaseElement* pNewFocus
);

Parameters

  • pNewFocus
    A pointer to a Ribbon element that receives focus.

Requirements

Header: afxribbonpanel.h

See Also

Other Resources

CMFCRibbonPanel Class (MFC10)