BOOL CBCGPTasksPane::ShowTask | ( | int | nGroup, |
int | nTask, | ||
BOOL | bShow = TRUE , |
||
BOOL | bRedraw = TRUE |
||
) |
Shows or hides a task.
Use this function to show or hide a task. You should use the group index obtained from AddGroup() and task index obtained from AddTask(), AddLabel(), AddMRUFilesList() or AddWindow().
You can show or hide a task by its commandID calling on ShowTaskByCmdId().
nGroup | Specifies the zero-based index of a group the task to be shown belongs to. |
nTask | Specifies the zero-based index of a task to be shown or hidden. |
bShow | If TRUE, the task will be shown; if FALSE, the task will be hidden. |
bRedraw | If TRUE, the task pane will be redrawn. Set this flag to FALSE in order to optimize subsequent operations. |