共用方式為


CMFCRibbonBaseElement::SetData

Associates a data item with the ribbon element.

void SetData(
   DWORD_PTR dwData 
);

Parameters

  • [in] dwData
    The data value.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart