共用方式為


CMFCRibbonButton::DrawImage

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void DrawImage(
   CDC* pDC,
   RibbonImageType type,
   CRect rectImage
);

Parameters

  • [in] pDC
     

  • [in] type
     

  • [in] rectImage
     

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart