Export (0) Print
Expand All
MFC
Expand Minimize

CToolBarCtrl::SetDisabledImageList 

Sets the image list that the toolbar control will use to display disabled buttons.


CImageList* SetDisabledImageList(
   CImageList* pImageList 
);

Parameters

pImageList

A pointer to a CImageList object containing the images to be used by the toolbar control to display disabled button images.

A pointer to a CImageList object that was previously used by the toolbar control to display disabled button images.

This member function implements the behavior of the Win32 message TB_SETDISABLEDIMAGELIST, as described in the Platform SDK. The MFC implementation of SetDisabledImageList uses a CImageList object containing the toolbar control's disabled button images, rather than a handle to an image list.

Community Additions

ADD
Show:
© 2015 Microsoft