Partager via


ListView_GetGroupInfo (Compact 2013)

3/28/2014

This macro retrieves group information. You can use this macro or send the LVM_GETGROUPINFO message explicitly.

Syntax

int ListView_GetGroupInfo(
   HWND hwnd,
   int iGroupId,
   PLVGROUP pgrp
);

Parameters

  • hwnd
    Handle to the list-view control.
  • iGroupId
    Identifier (ID) that specifies the group whose information is retrieved.
  • pgrp
    Pointer to an LVGROUP structure that receives the retrieved information.

Return Value

Returns the ID of the group if successful, or -1 otherwise.

Remarks

None.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Macros