Share via


CMFCTasksPaneTaskGroup Class

The CMFCTasksPaneTaskGroup class is a helper class used by the CMFCTasksPane control. Objects of type CMFCTasksPaneTaskGroup represent a task group. The task group is a list of items that the framework displays in a separate box that has a collapse button. The box can have an optional caption (group name). If a group is collapsed, the list of tasks is not visible.

class CMFCTasksPaneTaskGroup : public CObject

Members

Public Constructors

Name

Description

CMFCTasksPaneTaskGroup::CMFCTasksPaneTaskGroup

Constructs a CMFCTasksPaneTaskGroup object.

CMFCTasksPaneTaskGroup::~CMFCTasksPaneTaskGroup

Destructor.

Public Methods

Name

Description

CMFCTasksPaneTaskGroup::SetACCData

Determines the accessibility data for the current task group.

Data Members

Name

Description

CMFCTasksPaneTaskGroup::m_bIsBottom

Determines whether the task group is aligned to the bottom of the task pane control.

CMFCTasksPaneTaskGroup::m_bIsCollapsed

Determines whether the task group is collapsed.

CMFCTasksPaneTaskGroup::m_bIsSpecial

Determines whether the task group is special. The framework displays special captions in a different color.

CMFCTasksPaneTaskGroup::m_lstTasks

Contains the internal list of tasks.

CMFCTasksPaneTaskGroup::m_rect

Specifies the bounding rectangle of the group caption.

CMFCTasksPaneTaskGroup::m_rectGroup

Specifies the bounding rectangle of the group.

CMFCTasksPaneTaskGroup::m_strName

Specifies the name of the group.

Remarks

The following illustration shows an expanded task group:

Task group, expanded

The following illustration shows a collapsed task group:

Collapsed task group

The following illustration shows a task group without a caption:

Task group without a caption

The following illustration shows two task groups. The first task group is marked as special by setting the m_bIsSpecial flag to TRUE, while the second task group is not special. Note how the caption for the first task group is darker than the second task group:

Special task group

Inheritance Hierarchy

CObject

   CMFCTasksPaneTaskGroup

Requirements

Header: afxTasksPane.h

See Also

Reference

Hierarchy Chart

CMFCTasksPane Class

CMFCTasksPaneTask Class

CMFCOutlookBar Class

CObject Class

Other Resources

MFC Classes