Partager via


COleControlContainer::OnPaint

Called by the framework to handle WM_PAINT requests.

virtual BOOL OnPaint(
   CDC* pDC 
);

Parameters

  • pDC
    A pointer to the device context used by the container.

Return Value

Nonzero if the message was handled; otherwise zero.

Remarks

Override this function to customize the painting process.

Requirements

Header: afxocc.h

See Also

Reference

COleControlContainer Class

Hierarchy Chart

Other Resources

COleControlContainer Members