BOOL CBCGPTasksPane::GetTaskLocation | ( | CBCGPTask * | pTask, |
int & | nGroup, | ||
int & | nTask | ||
) | const |
Given a task command returns the task's group and index.
Call this function to determine the task location. Under task's location is meant the group index and task's index in this group. If the function fails nGroup and nTask will be set to -1.
pTask | A pointer to task. |
nGroup | [out] When the function returns it will contain the group index. |
nTask | [out] When the function returns, it will contain the task's index. |