Skip to content

Latest commit

 

History

History
85 lines (66 loc) · 2.83 KB

nf-commctrl-listview_setgroupstate.md

File metadata and controls

85 lines (66 loc) · 2.83 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_SetGroupState
ListView_SetGroupState macro (commctrl.h)
Sets the state for a specified group.
ListView_SetGroupState
ListView_SetGroupState macro [Windows Controls]
_shell_ListView_SetGroupState
_shell_ListView_SetGroupState_cpp
commctrl/ListView_SetGroupState
controls.ListView_SetGroupState
controls._shell_ListView_SetGroupState
controls\ListView_SetGroupState.htm
Controls
VS|Controls|~\controls\listview\macros\listview_setgroupstate.htm
12/05/2018
ListView_SetGroupState, ListView_SetGroupState macro [Windows Controls], _shell_ListView_SetGroupState, _shell_ListView_SetGroupState_cpp, commctrl/ListView_SetGroupState, controls.ListView_SetGroupState, controls._shell_ListView_SetGroupState
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
ListView_SetGroupState
commctrl/ListView_SetGroupState
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
ListView_SetGroupState

ListView_SetGroupState macro

-description

Sets the state for a specified group.

-parameters

-param hwnd [in]

Type: HWND

A handle to the list-view control.

-param dwGroupId [in]

Type: UINT

Specifies the group by iGroupId (see LVGROUP structure).

-param dwMask [in]

Type: UINT

Specifies the state values to set or clear. This is a combination of the flags listed for the state member of LVGROUP.

-param dwState [in]

Type: UINT

Specifies the state values to set. States that are not included here but are included in dwMask are cleared.

-remarks

Note  To use this macro, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.
 
You can also set the group state by using ListView_SetGroupInfo.