Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
pgrp
Type: PLVGROUP
Return value
Type: int
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |