Bagikan melalui


CMFCToolBarMenuButton::OnDraw

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 OnDraw(
   CDC* pDC,
   const CRect& rect,
   CMFCToolBarImages* pImages,
   BOOL bHorz = TRUE,
   BOOL bCustomizeMode = FALSE,
   BOOL bHighlight = FALSE,
   BOOL bDrawBorder = TRUE,
   BOOL bGrayDisabledButtons = TRUE
);

Parameters

  • [in] pDC
     

  • [in] rect
     

  • [in] pImages
     

  • [in] bHorz
     

  • [in] bCustomizeMode
     

  • [in] bHighlight
     

  • [in] bDrawBorder
     

  • [in] bGrayDisabledButtons
     

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart