CToolBarCtrl::SetHotImageList
Sets the image list that the toolbar control will use to display "hot" buttons.
CImageList* SetHotImageList(
CImageList* pImageList
);
Параметры
- pImageList
A pointer to a CImageList object containing the images to be used by the toolbar control to display hot button images.
Возвращаемое значение
A pointer to a CImageList object that was previously used by the toolbar control to display hot button images.
Заметки
This member function implements the behavior of the Win32 message TB_SETHOTIMAGELIST, as described in the Windows 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.
Требования
Header: afxcmn.h