Dela via


CMFCTasksPane::SetTaskName

Sets the name for a task.

BOOL SetTaskName(
    int nGroup,
    int nTask,
    LPCTSTR lpszTaskName
);

Parameters

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

  • [in] nTask
    Specifies the zero-based index of the task.

  • [in] lpszTaskName
    Specifies the task name.

Return Value

TRUE if the task name was successfully set; otherwise, FALSE.

Requirements

Header: afxTasksPane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCTasksPane Class