   programatically add items (and edit subitems) in a ListView using APIs?
  using vb, i trie to add items (and edit subitems) of a listview on another app. i managed to get the listview''s hwnd easily, but i''m struggling with the mentioned.here''s what i try:the type looks like this:Public Type LVITEM    Mask As Long    iItem As Long    iSubItem As Long    State As Long    stateMask As Long    pszText As String    cchTextMax As Long    iImage As Long    lParam As Long    iIndent As LongEnd Typecode, like this:    Dim LstItm As LVITEM    LstItm.Mask = LVIF_TEXT    LstItm.iItem = lngIndex '' the index is put here right?    LstItm.iSubItem = 0 '' subitem here / column?    LstItm.pszText = strText    LstItm.cchTextMax = Len(strText) - 1    Call SendMessage(hWnd_LV, LVM_SETITEMTEXTA, ByVal lngIndex, LstItm)hmm... NOTHING happens to the listview. it only works with simple commands like LVM_GETITEMCOUNT etc. 
  Use LVM_INSERITEM message to insert an item. ;  but, what about editing fields then, like in my example code. whats wrong? 