CToolBarCtrl::SetDisabledImageList

CImageList* SetDisabledImageList( CImageList* pImageList );

Return Value

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

Parameters

pImageList

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

Remarks

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.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::GetDisabledImageList, CToolBarCtrl::SetHotImageList, CToolBarCtrl::SetImageList