Image List Creation Flags

The set of bit flags that specifies the type of image list to create. This parameter can be a combination of the following values, but it can include only one of the ILC_COLOR values. Used by ImageList_Create and IImageList2::Initialize.

Constant/valueDescription
ILC_MASK
0x00000001

Use a mask. The image list contains two bitmaps, one of which is a monochrome bitmap used as a mask. If this value is not included, the image list contains only one bitmap.

ILC_COLOR
0x00000000

Use the default behavior if none of the other ILC_COLORx flags is specified. Typically, the default is ILC_COLOR4, but for older display drivers, the default is ILC_COLORDDB.

ILC_COLORDDB
0x000000FE

Use a device-dependent bitmap.

ILC_COLOR4
0x00000004

Use a 4-bit (16-color) device-independent bitmap (DIB) section as the bitmap for the image list.

ILC_COLOR8
0x00000008

Use an 8-bit DIB section. The colors used for the color table are the same colors as the halftone palette.

ILC_COLOR16
0x00000010

Use a 16-bit (32/64k-color) DIB section.

ILC_COLOR24
0x00000018

Use a 24-bit DIB section.

ILC_COLOR32
0x00000020

Use a 32-bit DIB section.

ILC_PALETTE
0x00000800

Not implemented.

ILC_MIRROR
0x00002000

Mirror the icons contained, if the process is mirrored

ILC_PERITEMMIRROR
0x00008000

Causes the mirroring code to mirror each item when inserting a set of images, versus the whole strip.

ILC_ORIGINALSIZE
0x00010000

Windows Vista and later. Imagelist should accept smaller than set images and apply original size based on image added.

ILC_HIGHQUALITYSCALE
0x00020000

Windows Vista and later. Reserved.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

 

 

Show: