BCGControlBar Pro for MFC
virtual BOOL CBCGPTabWnd::SetImageList ( HIMAGELIST  hImageList)
virtual

Sets an image list.

Returns
Nonzero if success; it is 0 if the tab control was created with a flat style.

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.

Parameters
hImageListA handle to a preloaded image list.

Implements CBCGPBaseTabImpl.