Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Sets the information that describes the specified group of the current list-view control.

int SetGroupInfo(
    int iGroupId,
    PLVGROUP pgrp 


The identifier of the group whose information is set.


Pointer to an LVGROUP structure that contains the information to set. The caller is responsible for allocating this structure and setting its members.

The ID of the group if the method is successful; otherwise, -1.

This method sends the LVM_SETGROUPINFO message, which is described in the Windows SDK.

Header: afxcmn.h

This control is supported in Windows XP and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

© 2015 Microsoft