Export (0) Print
Expand All
MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.