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

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)

 

 

Show: