LVM_GETFOCUSEDGROUP message

Gets the group that has the focus. Send this message explicitly or by using the ListView_GetFocusedGroup macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

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