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

ListView_RemoveGroup

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

描述

 

从列表视图控件中删除组。

 

PB语法

 

FUNCTION ListView_RemoveGroup ( _

BYVAL hwndLV AS DWORD, _

BYVAL iGroupId AS LONG _

) AS LONG

 

参数

 

hwndLV

[in]处理ListView控件。

iGroupId

[in]指定要删除的组的ID。

 

返回值

 

如果成功,返回组的索引,否则返回-1。

 

备注

 

要使用ListView_RemoveGroup,请在清单中指定Comctl32.dll版本6。

 

最低操作系统

 

Windows XP。

 

引用文件 #INCLUDE Once

 

ListViewCtrl.inc