共用方式為


CMFCVisualManager::OnEraseMDIClientArea

The framework calls this method when it erases the MDI client area.

virtual BOOL OnEraseMDIClientArea(
   CDC* pDC,
   CRect rectClient
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] rectClient
    A rectangle that specifies the boundaries of the MDI client area.

Return Value

A reserved value. The default implementation returns FALSE.

Remarks

Override this method to execute custom code when the visual manager erases the MDI client area.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart