ListView_GetGroupState macro (commctrl.h)

Gets the state for a specified group. Use this macro or send the LVM_GETGROUPSTATE message explicitly.

Syntax

void ListView_GetGroupState(
  [in]  hwnd,
  [in]  dwGroupId,
  [in]  dwMask
);

Parameters

[in] hwnd

Type: HWND

A handle to the list-view control.

[in] dwGroupId

Type: UINT

Specifies the group by iGroupId (see LVGROUP structure).

[in] dwMask

Type: UINT

Specifies the state values to retrieve. This is a combination of the flags listed for the state member of LVGROUP.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h