BOOL CBCGPTasksPane::SetIconsList | ( | UINT | uiImageListResID, |
int | cx, | ||
COLORREF | clrTransparent = RGB(255, 0, 255) , |
||
BOOL | bAutoScale = FALSE , |
||
int | cy = 0 |
||
) |
Sets the image list associated with tasks.
Use this function to attach an image list to the task pane control. When you call AddTask() set nTaskIcon parameter to the appropriate zero-based index in this image list.
uiImageListResID | Specifies the resource ID of the image list. |
cx | Specifies the size of icons in the image list. |
clrTransparent | An RGB value which specifies the transparent color of the bitmap. |
bAutoScale | If TRUE, the icons list will be scaled according to the current DPI. |
cy | Specifies the icon height. If this value is zero, the default value will be used. |