CToolBarCtrl::SetImageList

CImageList* SetImageList( CImageList* pImageList );

Return Value

A pointer to a CImageList object that was previously used by the toolbar control to display button images in their default state.

Parameters

pImageList

A pointer to a CImageList object containing the images to be used by the toolbar control to display button images in their default state.

Remarks

This member function implements the behavior of the Win32 message TB_SETIMAGELIST, as described in the Platform SDK.

The MFC implementation of SetImageList uses a CImageList object containing the toolbar control's button images, rather than a handle to an image list.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::GetImageList, CToolBarCtrl::SetDisabledImageList, CToolBarCtrl::SetHotImageList