共用方式為


CMFCVisualManager::OnFillTasksPaneBackground

The framework calls this method when it fills the background of a CMFCTasksPane control.

virtual void OnFillTasksPaneBackground(
   CDC* pDC,
   CRect rectWorkArea
);

Parameters

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

  • [in] rectWorkArea
    A rectangle that specifies the boundaries of the task pane.

Remarks

Override this method in a derived visual manager to customize the appearance of a CMFCTasksPane object.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCTasksPane Class