The ImageList_Create function creates a new image list.
HIMAGELIST ImageList_Create(
int cx, | |
int cy, | |
UINT flags, | |
int cInitial, | |
int cGrow | |
); |
Value |
Meaning |
ILC_COLOR |
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. |
ILC_COLOR4 |
Use a 4-bit (16 color) device-independent bitmap (DIB) section as the bitmap for the image list. |
ILC_COLOR8 |
Use an 8-bit DIB section. The colors used for the color table are the same colors as the halftone palette. |
ILC_COLOR16 |
Use a 16-bit (32/64k color) DIB section. |
ILC_COLOR24 |
Use a 24-bit DIB section. |
ILC_COLOR32 |
Use a 32-bit DIB section. |
ILC_COLORDDB |
Use a device-dependent bitmap. |
ILC_MASK |
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. |
If the function succeeds, the return value is the handle to the image list.
If the function fails, the return value NULL.
file: /Techref/os/win/api/win32/func/src/f45_9.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/27 19:15,
3.129.45.144:LOG IN
|
©2024 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? <A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f45_9.htm"> ImageList_Create</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.