Contents Index Topic Contents | ||
Previous Topic: ImageList_GetDragImage Next Topic: ImageList_GetIconSize |
ImageList_GetIcon
HICON ImageList_GetIcon( HIMAGELIST himl, int i, UINT flags );Creates an icon from an image and mask in an image list.
- Returns the handle to the icon if successful, or NULL otherwise.
- himl
- Handle to the image list.
- i
- Index of the image.
- flags
- Combination of flags that specify the drawing style. For a list of values, see the description of the ImageList_Draw function.
It is the responsibility of the calling application to destroy the icon returned from this function using the DestroyIcon function.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.