CToolBarCtrl::SetDisabledImageList
Sets the image list that the toolbar control will use to display disabled buttons.
CImageList* SetDisabledImageList(
CImageList* pImageList
);
Параметры
- 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 Windows 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.
Требования
Header: afxcmn.h