ListView_GetFocusedGroup macro (commctrl.h)
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
[in] hwnd
Type: HWND
A handle to the list-view control.
Return value
Type: INT
Returns the index of the group with state of LVGS_FOCUSED, or -1 if there is no group with state of LVGS_FOCUSED.
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 |