COleControl::DrawContent

Called by the framework when the control's appearance needs to be updated.

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

Parameters

  • pDC
    Pointer to the device context.

  • rc
    Rectangular area to be drawn in.

Remarks

This function directly calls the overridable OnDraw function.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::OnDraw

COleControl::DrawMetafile

COleControl::OnDrawMetafile