共用方式為


COleControl::DrawMetafile

Called by the framework when the metafile device context is being used.

void DrawMetafile(
   CDC* pDC,
   CRect& rc
);

Parameters

  • pDC
    Pointer to the metafile device context.

  • rc
    Rectangular area to be drawn in.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::OnDraw

COleControl::DrawContent

COleControl::OnDrawMetafile