CMFCTasksPaneTask::m_nIcon
The index position in an image list that identifies an image that is displayed next to the specified task.
int m_nIcon;
Remarks
The image list is set by CMFCTasksPane::SetIconsList.
Set m_nIcon to -1 if you want to display the task without an image.
Requirements
Header: afxTasksPane.h