共用方式為


CMFCTasksPane::GetTask

Retrieves a task.

CMFCTasksPaneTask* GetTask(
    int nGroup,
    int nTask
) const;

Parameters

  • [in] nGroup
    Specifies the zero-based index of the group that contains the task.

  • [in] nTask
    Specifies the zero-based index of the task in the list specified by nGroup.

Return Value

The task at the specified index.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart

CMFCTasksPane::GetTaskLocation