Skip to content

Latest commit

 

History

History
126 lines (104 loc) · 4.07 KB

nf-commctrl-listview_getgrouprect.md

File metadata and controls

126 lines (104 loc) · 4.07 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:commctrl.ListView_GetGroupRect
ListView_GetGroupRect macro (commctrl.h)
Gets the rectangle for a specified group. Use this macro or send the LVM_GETGROUPRECT message explicitly.
LVGGR_GROUP
LVGGR_HEADER
LVGGR_LABEL
LVGGR_SUBSETLINK
ListView_GetGroupRect
ListView_GetGroupRect macro [Windows Controls]
_shell_ListView_GetGroupRect
_shell_ListView_GetGroupRect_cpp
commctrl/ListView_GetGroupRect
controls.ListView_GetGroupRect
controls._shell_ListView_GetGroupRect
controls\ListView_GetGroupRect.htm
Controls
VS|Controls|~\controls\listview\macros\listview_getgrouprect.htm
12/05/2018
LVGGR_GROUP, LVGGR_HEADER, LVGGR_LABEL, LVGGR_SUBSETLINK, ListView_GetGroupRect, ListView_GetGroupRect macro [Windows Controls], _shell_ListView_GetGroupRect, _shell_ListView_GetGroupRect_cpp, commctrl/ListView_GetGroupRect, controls.ListView_GetGroupRect, controls._shell_ListView_GetGroupRect
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
ListView_GetGroupRect
commctrl/ListView_GetGroupRect
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
ListView_GetGroupRect

ListView_GetGroupRect macro

-description

Gets the rectangle for a specified group. Use this macro or send the LVM_GETGROUPRECT message explicitly.

-parameters

-param hwnd [in]

Type: HWND

A handle to the list-view control.

-param iGroupId [in]

Type: int

Specifies the group by iGroupId (see LVGROUP structure).

-param type [in]

Type: LONG

Specifies the type of rectangle to retrieve. This parameter must be one of the following values.

Value Meaning
LVGGR_GROUP
Coordinates of the entire expanded group.
LVGGR_HEADER
Coordinates of the header only (collapsed group).
LVGGR_LABEL
Coordinates of the label only.
LVGGR_SUBSETLINK
Coordinates of the subset link only (markup subset). A list-view control can limit the number of visible items displayed in each group. A link is presented to the user to allow the user to expand the group. This flag will return the bounding rectangle of the subset link if the group is a subset (group state of LVGS_SUBSETED, see structure LVGROUP, member state). This flag is provided so that accessibility applications can locate the link.

-param prc [in, out]

Type: RECT*

A pointer to a RECT structure to receive information on the group specified by iGroupId. The message receiver is responsible for setting the structure members with information for the group specified by iGroupId. The calling application is responsible for allocating memory for the structure.