Condividi tramite


CImageList Class

Provides the functionality of the Windows common image list control.

class CImageList : public CObject

Remarks

An "image list" is a collection of same-sized images, each of which can be referred to by its zero-based index. Image lists are used to efficiently manage large sets of icons or bitmaps. 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). The Microsoft Win32 application programming interface (API) provides image list functions that enable you to draw images, create and destroy image lists, add and remove images, replace images, merge images, and drag images.

This control (and therefore the CImageList class) is available only to programs running under Windows 95/98 and Windows NT version 3.51 and later.

For more information on using CImageList, see Controls and Using CImageList.

Requirements

Header: afxcmn.h

See Also

Reference

CObject Class

Hierarchy Chart

CListCtrl Class

CTabCtrl Class

Other Resources

CImageList Members