BCGControlBar Pro for MFC
CBCGPTask* CBCGPTasksPane::GetTask ( int  nGroup,
int  nTask 
) const

Retrieves a pointer to a task.

The task group currently at this index.

Use this function to get CBCGTask pointer by the group index and task index. For reverse operation use GetTaskLocation() member function.

nGroupThe zero-based index of the group in the internal list of groups.
nTaskThe zero-based index of the task in the list of tasks that belongs to group.