Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.78 KB

lvm-setcolumn.md

File metadata and controls

67 lines (40 loc) · 1.78 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
LVM_SETCOLUMN message (Commctrl.h)
Sets the attributes of a list-view column. You can send this message explicitly or by using the ListView\_SetColumn macro.
8ca1c269-fd86-4561-940d-b75f8ca2b731
LVM_SETCOLUMN message Windows Controls
apiref
LVM_SETCOLUMN
LVM_SETCOLUMNW
LVM_SETCOLUMNW
Commctrl.h
HeaderDef
reference
05/31/2018

LVM_SETCOLUMN message

Sets the attributes of a list-view column. You can send this message explicitly or by using the ListView_SetColumn macro.

Parameters

wParam

Index of the column.

lParam

Pointer to an LVCOLUMN structure that contains the new column attributes. The mask member specifies which column attributes to set. If the mask member specifies the LVCF_TEXT value, the pszText member is the address of a null-terminated string and the cchTextMax member is ignored.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
LVM_SETCOLUMNW (Unicode) and LVM_SETCOLUMNW (ANSI)