Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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 |