共用方式為


CMFCRibbonCategory::GetLastVisibleElement

Retrieves the last visible element that belongs to the ribbon category.

CMFCRibbonBaseElement* GetLastVisibleElement() const;

Return Value

Pointer to the last visible element; may be NULL if the category does not have any visible elements.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class