| Prev Next ListView_InsertItem info Overview GroupThe ListView_InsertItem macro inserts a new item in a list view control. You can use this macro or explicitly send the LVM_INSERTITEM message. int ListView_InsertItem( 
 Parameters
 Return ValuesReturns the index of the new item if successful or -1 otherwise. RemarksIf a list view control has either the LVS_SORTASCENDING or LVS_SORTDESCENDING window style, an LVM_INSERTITEM message will fail if you try to insert an item that has LPSTR_TEXTCALLBACK as the pszText member of its LV_ITEM structure. See Also |