Expand Minimize
This topic has not yet been rated - Rate this topic

CListCtrl::GetFocusedGroup

Retrieves the group that has the keyboard focus in the current list-view control.

int GetFocusedGroup() const;

The index of the group whose state is LVGS_FOCUSED, if there is such a group; otherwise, -1.

This method sends the LVM_GETFOCUSEDGROUP message, which is described in the Windows SDK. For more information, see the LVGS_FOCUSED value of the state member of the LVGROUP structure.

Header: afxcmn.h

This control is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.