共用方式為


CMFCVisualManagerOffice2003::OnDrawTasksGroupCaption

The framework calls this method when it draws the caption for a CMFCTasksPaneTaskGroup Class object.

virtual void OnDrawTasksGroupCaption(
   CDC* pDC,
   CMFCTasksPaneTaskGroup* pGroup,
   BOOL bIsHighlighted = FALSE,
   BOOL bIsSelected = FALSE,
   BOOL bCanCollapse = FALSE
);

Parameters

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

  • [in] pGroup
    A pointer to a CMFCTasksPaneTaskGroup Class object. The framework draws the caption for this group.

  • [in] bIsHighlighted
    A Boolean parameter that indicates whether the group is highlighted.

  • [in] bIsSelected
    A Boolean parameter that indicates whether the group is currently selected.

  • [in] bCanCollapse
    A Boolean parameter that indicates whether the group can be collapsed.

Remarks

Override this method in a derived class to customize the caption for a CMFCTasksPaneTaskGroup.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart