共用方式為


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

Concepts

COleControlContainer Class

COleControlContainer Members

Hierarchy Chart