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
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for