CToolBarCtrl::SetHotImageList

CImageList* SetHotImageList( CImageList* pImageList );

Return Value

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

Parameters

pImageList

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

Remarks

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

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

A hot button appears highlighted when the pointer is above it.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::GetHotImageList, CToolBarCtrl::SetDisabledImageList, CToolBarCtrl::SetImageList