ListView_GetFocusedGroup macro

Gets the group that has the focus. Use this macro or send the LVM_GETFOCUSEDGROUP message explicitly.

Syntax


INT ListView_GetFocusedGroup(
  [in] HWND hwnd
);

Parameters

hwnd [in]

Type: HWND

A handle to the list-view control.

Return value

Returns the index of the group with state of LVGS_FOCUSED, or -1 if there is no group with state of LVGS_FOCUSED.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Show: