CHeaderCtrl::SetImageList
Assigns an image list to a header control.
CImageList* SetImageList(
CImageList* pImageList
);
Параметры
- pImageList
A pointer to a CImageList object containing the image list to be assigned to the header control.
Возвращаемое значение
A pointer to the CImageList object previously assigned to the header control.
Заметки
This member function implements the behavior of the Win32 message HDM_SETIMAGELIST, as described in the Windows SDK. The CImageList object to which the returned pointer points is a temporary object and is deleted in the next idle-time processing.
Пример
See the example for CHeaderCtrl::GetImageList.
Требования
Header: afxcmn.h