CMFCTasksPane::SetIconsList
Sets the image list.
BOOL SetIconsList(
UINT uiImageListResID,
int cx,
COLORREF clrTransparent = RGB(255,0,255)
);
void SetIconsList(
HIMAGELIST hIcons
);
Parameters
[in] uiImageListResID
Specifies the resource ID of the image list.[in] cx
Specifies the size of icons in the image list.[in] clrTransparent
Specifies the transparent color.[in] hIcons
Specifies the image list that contains the icons for the task pane.
Remarks
The framework stores icons in an image list. Tasks are associated with icons that are stored in that list.
This method associates an image list with the task pane control. To set the icon for a task when you call CMFCTasksPane::AddTask, set nTaskIcon to the appropriate zero-based index in this image list.
Requirements
Header: afxTasksPane.h