BCGControlBar Pro for MFC
virtual BOOL CBCGPTabWnd::SetImageList ( UINT  uiID,
int  cx = 15,
COLORREF  clrTransp = RGB(255, 0, 255) 

Sets an image list.

Nonzero if success; it is 0 if the tab control was created with a flat style or the internal image list can't load the specified bitmap.

Call this function to set an image list for the tab control. The images from the image list are displayed along with tab's labels. You specify the index of image to display in AddTab().

The function recalculates the tabs height according to image and text size.

uiIDSpecifies a bitmap resource ID to load the image list from.
cxWidth of each image, in pixels.
clrTranspSpecifies the image transparent color.