CListCtrl::InsertItem

This method inserts an item into the list view control.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

int InsertItem( const LV_ITEM* pItem ); int InsertItem( int nItem,
LPCTSTR
lpszItem ); int InsertItem( int nItem, LPCTSTR lpszItem,
int
nImage ); int InsertItem( UINT nMask, int nItem, LPCTSTR lpszItem,
UINT
nState, UINT nStateMask, int nImage, LPARAM lParam );

See Also

CListCtrl::DeleteItem, CListCtrl::DeleteAllItems