Expand Minimize

ListView_InsertGroupSorted macro

Inserts a group into an ordered list of groups. You can use this macro or send the LVM_INSERTGROUPSORTED message explicitly.

Syntax


void ListView_InsertGroupSorted(
  HWND hwnd,
  PLVINSERTGROUPSORTED structInsert
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

structInsert

Type: PLVINSERTGROUPSORTED

A pointer to an LVINSERTGROUPSORTED structure that contains the group to insert.

Return value

This macro does not return a value.

Remarks

To use ListView_InsertGroupSorted, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.