Udostępnij za pośrednictwem


COleControl::OnDrawMetafile

Called by the framework to draw the OLE control in the specified bounding rectangle using the specified metafile device context.

virtual void OnDrawMetafile( 
   CDC* pDC, 
   const CRect& rcBounds  
);

Parameters

  • pDC
    The device context in which the drawing occurs.

  • rcBounds
    The rectangular area of the control, including the border.

Remarks

The default implementation calls the OnDraw function.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::OnDraw

COleControl::DrawContent

COleControl::DrawMetafile

Other Resources

COleControl Members