共用方式為


CMFCRibbonCategory::GetFirstVisibleElement

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

CMFCRibbonBaseElement* GetFirstVisibleElement() const;

Return Value

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

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class