Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 2.19 KB

File metadata and controls

60 lines (50 loc) · 2.19 KB
title Using CImageList
ms.custom na
ms.date 10/14/2016
ms.prod visual-studio-dev14
ms.reviewer na
ms.suite na
ms.technology
devlang-cpp
ms.tgt_pltfrm na
ms.topic article
f1_keywords
CImageList
dev_langs
C++
helpviewer_keywords
image list control
CImageList class, using
ms.assetid 3d2a909e-d641-46b7-aada-81cab1a29b41
caps.latest.revision 8
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Using CImageList

An image list, represented by class CImageList, is a collection of same-sized images, each of which can be referred to by its index. Image lists are used to efficiently manage large sets of icons or bitmaps. Image lists are not themselves controls since they are not windows; however, they are used with several different types of controls, including list controls (CListCtrl), tree controls (CTreeCtrl), and tab controls (CTabCtrl).

All images in an image list are contained in a single, wide bitmap in screen-device format. An image list may also include a monochrome bitmap that contains masks used to draw images transparently (icon style). CImageList provides member functions that enable you to draw images, create and destroy image lists, add and remove images, replace images, merge images, and drag images.

What do you want to know more about?

See Also

Controls