Partager via


CMFCTasksPane::RemoveTask

Removes a task from a task group.

BOOL RemoveTask(
    int nGroup,
    int nTask,
    BOOL bRedraw = TRUE
);

Parameters

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

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

  • [in] bRedraw
    TRUE to redraw the task pane; otherwise, FALSE.

Return Value

TRUE if the function succeeds; FALSE if nGroup or nTask is invalid.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart