共用方式為


CMFCRibbonStatusBar::AddDynamicElement

Adds a dynamic element to the ribbon status bar.

void AddDynamicElement(
   CMFCRibbonBaseElement* pElement 
);

Parameters

  • [in] pElement
    A pointer to a dynamic element.

Remarks

Unlike regular elements, dynamic elements are not customizable and the customize menu of the status bar does not display them.

Requirements

Header: afxribbonstatusbar.h

See Also

Reference

CMFCRibbonStatusBar Class

Hierarchy Chart