Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.36 KB

nf-commctrl-listview_deletecolumn.md

File metadata and controls

71 lines (58 loc) · 2.36 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_DeleteColumn
ListView_DeleteColumn macro (commctrl.h)
Removes a column from a list-view control. You can use this macro or send the LVM_DELETECOLUMN message explicitly.
ListView_DeleteColumn
ListView_DeleteColumn macro [Windows Controls]
_win32_ListView_DeleteColumn
_win32_ListView_DeleteColumn_cpp
commctrl/ListView_DeleteColumn
controls.ListView_DeleteColumn
controls._win32_ListView_DeleteColumn
controls\ListView_DeleteColumn.htm
Controls
VS|Controls|~\controls\listview\macros\listview_deletecolumn.htm
12/05/2018
ListView_DeleteColumn, ListView_DeleteColumn macro [Windows Controls], _win32_ListView_DeleteColumn, _win32_ListView_DeleteColumn_cpp, commctrl/ListView_DeleteColumn, controls.ListView_DeleteColumn, controls._win32_ListView_DeleteColumn
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
ListView_DeleteColumn
commctrl/ListView_DeleteColumn
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
ListView_DeleteColumn

ListView_DeleteColumn macro

-description

Removes a column from a list-view control. You can use this macro or send the LVM_DELETECOLUMN message explicitly.

-parameters

-param hwnd

Type: HWND

A handle to the list-view control.

-param iCol

Type: int

An index of the column to delete.

-remarks

Deleting column zero of a list-view control is supported only in ComCtl32.dll version 6 and later. Version 5 also supports deleting column zero, but only after you use CCM_SETVERSION to set the version to 5 or later. In versions prior to version 5, if you must delete column zero, insert a zero length dummy column zero and delete column one and above.