BCGControlBar Pro for MFC
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.

Parameters
uiImageListResIDSpecifies the resource ID of the image list.
cxSpecifies the size of icons in the image list.
clrTransparentAn RGB value which specifies the transparent color of the bitmap.
bAutoScaleIf TRUE, the icons list will be scaled according to the current DPI.
cySpecifies the icon height. If this value is zero, the default value will be used.