Condividi tramite


COleIPFrameWndEx::OnDrawMenuLogo

Called by the framework when a CMFCPopupMenuobject processes a WM_PAINT message.

virtual void OnDrawMenuLogo(
   CDC* pDC,
   CMFCPopupMenu* pMenu,
   const CRect& rectLogo 
);

Parameters

  • [in] pDC
    Pointer to the device context.

  • [in] pMenu
    Pointer to the pop-up menu object.

  • [in] rectLogo
    Pointer to the logo to display.

Remarks

Override this method to display a logo on the pop-up menu associated with the menu bar owned by the COleIPFrameWndEx-derived object. The default implementation does nothing.

Requirements

Header: afxoleipframewndex.h

See Also

Reference

COleIPFrameWndEx Class

Hierarchy Chart