Share via


LVM_GETGROUPINFO (Compact 2013)

3/28/2014

This message retrieves group information.

To send this message, call the SendMessage function.

Syntax

lResult = SendMessage(
   (HWND) hWndControl,
   (UINT) LVM_GETGROUPINFO,
   (WPARAM) wParam,    // = (WPARAM) (int) iGroupId;
   (LPARAM) lParam     // = (LPARAM) (PLVGROUP) pgrp;
);    

Parameters

  • 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.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages