Hi Jose, I never saw such a function in the AfcCtl.inc file, so maybe the one below could be considered to be added.
' ========================================================================================
' Inserts a subitem into a list-view control.
' - hwndLV: Handle to the ListView control.
' - nItem: Zero-based index at which the new item should be inserted. If this value is
' greater than the number of items currently contained by the listview control, the new
' item will be appended to the end of the list and assigned the correct index. Examine the
' return value to determine the actual index assigned to the item.
' - nSubItem: One-based index of the subitem.
' - pwszText: The item text.
' Returns TRUE if successful, or FALSE otherwise.
' ========================================================================================
PRIVATE FUNCTION ListView_AddSubItem (BYVAL hwndLV AS HWND, BYVAL nItem AS LONG, BYVAL nSubItem AS LONG, BYVAL pwszText AS WSTRING PTR) AS boolean
DIM lvi AS LVITEMW
lvi.mask = LVIF_TEXT
lvi.pszText = pwszText
lvi.iItem = nItem
lvi.iSubItem = nSubItem
FUNCTION = SendMessageW(hwndLV, LVM_SETITEM, 0, cast(LPARAM, cast(LVITEMW PTR, @lvi)))
END FUNCTION
' ========================================================================================