Skip to content

Latest commit

 

History

History
75 lines (61 loc) · 3.23 KB

nf-commctrl-listview_setextendedlistviewstyle.md

File metadata and controls

75 lines (61 loc) · 3.23 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_SetExtendedListViewStyle
ListView_SetExtendedListViewStyle macro (commctrl.h)
Sets extended styles for list-view controls. You can use this macro or send the LVM_SETEXTENDEDLISTVIEWSTYLE message explicitly.
ListView_SetExtendedListViewStyle
ListView_SetExtendedListViewStyle macro [Windows Controls]
_win32_ListView_SetExtendedListViewStyle
_win32_ListView_SetExtendedListViewStyle_cpp
commctrl/ListView_SetExtendedListViewStyle
controls.ListView_SetExtendedListViewStyle
controls._win32_ListView_SetExtendedListViewStyle
controls\ListView_SetExtendedListViewStyle.htm
Controls
VS|Controls|~\controls\listview\macros\listview_setextendedlistviewstyle.htm
12/05/2018
ListView_SetExtendedListViewStyle, ListView_SetExtendedListViewStyle macro [Windows Controls], _win32_ListView_SetExtendedListViewStyle, _win32_ListView_SetExtendedListViewStyle_cpp, commctrl/ListView_SetExtendedListViewStyle, controls.ListView_SetExtendedListViewStyle, controls._win32_ListView_SetExtendedListViewStyle
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
ListView_SetExtendedListViewStyle
commctrl/ListView_SetExtendedListViewStyle
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
ListView_SetExtendedListViewStyle

ListView_SetExtendedListViewStyle macro

-description

Sets extended styles for list-view controls. You can use this macro or send the LVM_SETEXTENDEDLISTVIEWSTYLE message explicitly.

-parameters

-param hwndLV

Type: HWND

A handle to the list-view control that will receive the style change.

-param dw

Type: DWORD

A DWORD value that specifies the extended list-view control style. This parameter can be a combination of Extended List-View Styles.

-remarks

For backward compatibility reasons, the ListView_SetExtendedListViewStyle macro has not been updated to use dwExMask. To use the dwExMask value, use the ListView_SetExtendedListViewStyleEx macro.

When you use this macro to set the LVS_EX_CHECKBOXES style, any previously set state image index will be discarded. All check boxes will be initialized to the unchecked state. The state image index is contained in bits 12 through 15 of the state member of the LVITEM structure.