The ImageList_LoadBitmap function creates an image list from the specified bitmap resource. ImageList_LoadBitmap is a macro that calls the ImageList_LoadImage function.
HIMAGELIST ImageList_LoadBitmap(
HINSTANCE hi, |
// handle of instance containing the bitmap |
LPCTSTR lpbmp, |
// identifies the bitmap to load |
int cx, |
// image width |
int cGrow, |
// number of new images the list can contain |
COLORREF crMask |
// color used to generate a mask |
); |
If the hi parameter is non-NULL, lpszName is a pointer to a null-terminated string that contains the name of the image resource in the hi module.
If hi is NULL, the low-order word of this parameter must be the
identifier of an OEM bitmap to load. To create this value, use the MAKEINTRESOURCE
macro with one of the OEM bitmap identifiers defined in WINUSER.H. These
identifiers have the OBM_ prefix.
If the function succeeds, the return value is the image list.
If the function fails, the return value is NULL.
file: /Techref/os/win/api/win32/func/src/f46_7.htm, 3KB, , updated: 2000/4/7 12:19, local time: 2024/8/25 10:21,
18.223.172.224: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://massmind.org/Techref/os/win/api/win32/func/src/f46_7.htm"> ImageList_LoadBitmap</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.