Partager via


LVM_INSERTCOLUMN

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message inserts a new column in a list-view control. You can send this message explicitly or by using the ListView_InsertColumn macro.

Syntax

LVM_INSERTCOLUMN wParam = (WPARAM)(int) iCol; 
    lParam = (LPARAM)(const LV_COLUMN FAR *) pcol;

Parameters

  • iCol
    Index of the new column.
  • pcol
    Pointer to an LVCOLUMN structure that contains the attributes of the new column.

Return Value

The index of the new column indicates success. –1 indicates failure.

Remarks

Related macro: ListView_InsertColumn

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

LVCOLUMN
List-View Controls Messages