COleControl::OnDrawMetafile

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

Called by the framework to draw the OLE control in the specified bounding rectangle using the specified metafile device context. The default implementation calls the OnDraw function.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::OnDraw, COleControl::DrawContent, COleControl::DrawMetafile