CListCtrl::InsertItem

Call this member function to insert an item into the list view control.

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 );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CListCtrl Overview, CListCtrl Member Functions, Control Classes, CListCtrl::DeleteItem, CListCtrl::DeleteAllItems