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 11:19, local time: 2024/11/29 11:40,
18.221.68.196: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://sxlist.com/TECHREF/os/win/api/win32/func/src/f46_7.htm"> ImageList_LoadBitmap</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.