导航:  Windows Controls Procedures > List View Control > Wrappers >

ListView_InsertGroupSorted

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

描述

 

将组插入有序组列表中.您可以使用此程序或明确的LVM_INSERTGROUPSORTED发送消息.

 

FreeBASIC 语法

#define ListView_InsertGroupSorted(hwnd, structInsert)

 

参数

hwndLV

[in]句柄ListView控件.

structInsert

[in]指向一个LVINSERTGROUPSORTED结构包含插入组.

 

返回值

 

返回该组添加到的项的索引,如果操作失败,则返回1.

 

备注

 

使用ListView_InsertGroupSorted,清单中指定的Comctl32.dll版本6.

 

最低操作系统

 

Windows XP.

 

引用文件

 

CommCtrl.bi