导航:  Windows Controls Wrapper Functions > List View Control > Wrappers >

ListView_GetImageList

上一页返回章节概述下一页

描述

 

获取用于绘制列表视图项目的图像列表的句柄。

 

PB语法

 

FUNCTION ListView_GetImageList ( _

BYVAL hwndLV AS DWORD, _

BYVAL iImageList AS LONG _

) AS DWORD

 

参数

 

hwndLV

[in]处理ListView控件。

iImageList

[in]要检索的图像列表。

 

LVSIL_NORMAL

具有大图标的图像列表。

LVSIL_SMALL

具有小图标的图像列表。

LVSIL_STATE

具有状态图像的图像列表。

LVSIL_GROUPHEADER

组头的图像列表。

 

返回值

 

如果成功,返回指定图像列表的句柄,否则返回NULL。

 

最低操作系统

 

Windows NT 3.51,Windows 95。

 

引用文件 #INCLUDE Once

 

ListViewCtrl.inc