please dont rip this site Prev Next

ImageList_Create info  Overview  Group

The ImageList_Create function creates a new image list.

HIMAGELIST ImageList_Create(

    int cx, 

    int cy, 

    UINT flags, 

    int cInitial, 

    int cGrow



Specifies the width, in pixels, of each image.
Specifies the height, in pixels, of each image.
A set of bit flags that specify 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.




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


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


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


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


Use a 24-bit DIB section.


Use a 32-bit DIB section.


Use a device-dependent bitmap.


Uses 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.

Number of images that the image list initially contains.
Amount of images by which the image list can grow when the system needs to resize the list to make room for new images. This parameter represents the number of new images that the resized image list can contain.

Return Values

If the function succeeds, the return value is the handle to the image list.

If the function fails, the return value NULL.

See also:

file: /Techref/os/win/api/win32/func/src/f45_9.htm, 4KB, , updated: 2000/4/7 12:19, local time: 2022/5/23 22:56,

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> ImageList_Create</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host, Top posters @20220523
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!