LVM_DELETECOLUMN message

Removes a column from a list-view control. You can send this message explicitly or by using the ListView_DeleteColumn macro.

Parameters

wParam

The index of the column to delete.

lParam

Must be zero.

Return value

Returns TRUE if successful, or FALSE otherwise.

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.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h