ListView_SetGroupInfo macro
Sets group information. You can use this macro or send the LVM_SETGROUPINFO message explicitly.
Syntax
int ListView_SetGroupInfo( HWND hwnd, int iGroupId, PLVGROUP pgrp );
Parameters
- hwnd
-
Type: HWND
A handle to the list-view control.
- iGroupId
-
Type: int
An ID that specifies the group whose information is set. - pgrp
-
Type: PLVGROUP
A pointer to an LVGROUP structure that contains the information to set.
Return value
Returns the index of the group if successful, or -1 otherwise.Remarks
To use ListView_SetGroupInfo, 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 |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012
