CHeaderCtrl::SetImageList

CImageList* SetImageList( CImageList* pImageList );

Return Value

A pointer to the CImageList object previously assigned to the header control.

Parameters

pImageList

A pointer to a CImageList object containing the image list to be assigned to the header control.

Remarks

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

The CImageList object to which the returned pointer points is a temporary object, and is deleted in the next idle-time processing.

Example

See the example for CHeaderCtrl::GetImageList.

CHeaderCtrl OverviewClass MembersHierarchy Chart

See Also   CHeaderCtrl::GetImageList, CHeaderCtrl::CreateDragImage