共用方式為


CMFCRibbonButton::DrawRibbonText

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 int DrawRibbonText(
   CDC* pDC,
   const CString& strText,
   CRect rectText,
   UINT uiDTFlags,
   COLORREF clrText = (COLORREF)-1
);

Parameters

  • [in] pDC
     

  • [in] strText
     

  • [in] rectText
     

  • [in] uiDTFlags
     

  • [in] clrText
     

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart