|
uLib
User mode C/C++ extended API library for Win32 programmers.
|
Additional image list APIs...
Functions | |
| HIMAGELIST | ImageList_CreateMapped (HINSTANCE hInst, UINT Id, LPCOLORMAP Map, UINT nMap, UINT cxImg, UINT Flags, UINT nGrow) |
| HIMAGELIST ImageList_CreateMapped | ( | HINSTANCE | hInst, |
| UINT | Id, | ||
| LPCOLORMAP | Map, | ||
| UINT | nMap, | ||
| UINT | cxImg, | ||
| UINT | Flags, | ||
| UINT | nGrow | ||
| ) |
Create an imagelist from a bitmap resource, and remap specific colors.
The image count is inferred from the bitmap width and cxBtn,
and the image height is taken from the bitmap height.
| hInst | Module containing the bitmap resource. |
| Id | Id of the bitmap resource. |
| Map | Color remapping entries. |
| nMap | Nr of color remapping entries. |
| cxImg | Width of each subimage. |
| Flags | Flags for ImageList_Create. |
| nGrow | Growth term for ImageList_Create. |
Return the imagelist handle, or NULL on failure.
See also CreateMappedBitmap and ImageList_Create for parameter details.
Definition at line 1564 of file UserUtil.cpp.