CComboBoxEx::SetImageList

CImageList* SetImageList( CImageList* pImageList );

Return Value

A pointer to a CImageList object containing the images previously used by the CComboBoxEx control. NULL if no image list was previously set.

Parameters

pImageList

A pointer to a CImageList object containing the images to use with the CComboBoxEx control.

Remarks

This member function implements the functionality of the message CBEM_SETIMAGELIST, as described in the Platform SDK.

If you change the height of the default edit control, call the Win32 function SetWindowPos to resize your control after you call SetImageList, or it will not display properly.

The CImageList object pointed to by the return value is a temporary object and is destroyed during the next idle processing time.

CComboBoxEx OverviewClass MembersHierarchy Chart

See Also   CComboBoxEx::GetImageList