LVM_INSERTCOLUMN

Windows CE 3.0

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

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 Values

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

Remarks

Related macro: ListView_InsertColumn

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

LVCOLUMN


 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.

Show: