描述
将组插入到有序的组列表中。
PB语法
SUB ListView_InsertGroupSorted ( _ BYVAL hwndLV AS DWORD, _ BYREF structInsert AS LVINSERTGROUPSORTED _ ) |
参数
hwndLV |
[in]处理ListView控件。 |
structInsert |
[in]指向包含要插入的组的LVINSERTGROUPSORTED结构的指针。 |
返回值
返回组添加到的项目的索引,如果操作失败,则返回-1。
备注
要使用ListView_InsertGroupSorted,请在清单中指定Comctl32.dll版本6。
最低操作系统
Windows XP。
引用文件 #INCLUDE Once
ListViewCtrl.inc