共用方式為


CMFCVisualManager::OnFillTasksGroupInterior

The framework calls this method when it fills the interior of a CMFCTasksPaneTaskGroup object.

virtual void OnFillTasksGroupInterior(
   CDC* pDC,
   CRect rect,
   BOOL bSpecial = FALSE
);

Parameters

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

  • [in] rect
    A rectangle that specifies the boundaries of the task group.

  • [in] bSpecial
    A Boolean that indicates if the interior is filled with a special color.

Remarks

Override this method in a derived visual manager to customize the appearance of a task group.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCTasksPaneTaskGroup Class

CMFCTasksPane Class