共用方式為


CMFCRibbonLabel::SetACCData

Determines the accessibility data for the current ribbon label element.

virtual BOOL SetACCData(
    CWnd* pParent,
    CAccessibilityData& data
);

Parameters

  • [in] pParent
    Represents the parent window of the current ribbon label.

  • [out] data
    An object of type CAccessibilityData that is populated with the accessibility data of the current ribbon label.

Return Value

TRUE if the data parameter was successfully populated with the accessibility data of the current ribbon label; otherwise, FALSE.

Requirements

Header: afxRibbonLabel.h

See Also

Reference

CMFCRibbonLabel Class

Hierarchy Chart