Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CToolBarCtrl::SetImageList
Collapse the table of content
Expand the table of content

CToolBarCtrl::SetImageList 

Sets the image list that the toolbar will use to display buttons that are in their default state.


CImageList* SetImageList(
   CImageList* pImageList 
);

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.

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

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.

Community Additions

ADD
Show:
© 2015 Microsoft