Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the handle to an image list used for drawing list-view items. You can use this macro or send the LVM_GETIMAGELIST message explicitly.
Syntax
HIMAGELIST ListView_GetImageList(
HWND hwnd,
int iImageList
);
Parameters
hwnd
Type: HWND
A handle to the list-view control.
iImageList
Type: int
The image list to retrieve. This parameter can be one of the following values:
| Value | Meaning |
|---|---|
|
Image list with large icons. |
|
Image list with small icons. |
|
Image list with state images. |
|
Image list for group header. |
Return value
Type: HIMAGELIST
Returns the handle to the specified image list if successful, or NULL otherwise.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |