BCGControlBar Pro for MFC
BOOL CBCGPTasksPane::RemoveTask ( int  nGroup,
int  nTask,
BOOL  bRedraw = TRUE 
)

Removes a task from a task group.

Returns
TRUE, if the function succeeds. FALSE, if the specified group index or task index is invalid.

Call this function to remove a task from the specified group. You should use the group index obtained from AddGroup() and task index obtained from AddTask(), AddLabel(), AddMRUFilesList() or AddWindow().

Parameters
nGroupGroup index
nTaskTask index
bRedrawIf TRUE, the task pane will be redrawn. Set this flag to FALSE in order to optimize subsequent operations.