Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.04 KB

creating-the-image-lists.md

File metadata and controls

22 lines (16 loc) · 1.04 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Creating the Image Lists
Creating the Image Lists
11/04/2016
CListCtrl class [MFC], creating image lists for
image lists [MFC], creating for CListCtrl
lists [MFC], image
c2768515-deba-49e8-a6f3-5be6482afb19

Creating the Image Lists

Creating image lists is the same whether you use CListView or CListCtrl.

Note

You only need image lists if your list control includes the LVS_ICON style.

Use class CImageList to create one or more image lists (for full-size icons, small icons, and states). See CImageList, and see List View Image Lists in the Windows SDK.

Call CListCtrl::SetImageList for each image list; pass a pointer to the appropriate CImageList object.

See also

Using CListCtrl
Controls