共用方式為


CMFCRibbonPanel::GetPressed

Retrieves a pointer to a ribbon element on the ribbon panel if the user currently presses it.

CMFCRibbonBaseElement* GetPressed() const;

Return Value

A pointer to a ribbon element if the user currently presses it; otherwise NULL.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart