I want to add an item in listview in a spicifc column but I can't find any way to do that. I have two header columns:

Macro MacroDescription

Now I want to add "Macro1" under the header "Macro" and "MacroDesc" under the header "MacroDescription". How do I do that? Is there anyway to do this without handling to "WM_NOTIFY" from its parent window?

Here is a little code but it is just adding the item under the first column:


PHP Code:
LVITEM lvi;
    
lvi.mask LVIF_TEXT LVIF_STATE;
    
lvi.pszText =  "MacroDesc"
                
lvi.iItem 0;
    
lvi.state 0;
    
lvi.stateMask 0;
    
lvi.iSubItem 0;

    
ListView_InsertItem(lvhwnd, &lvi); 
What do I change in there so that I correctly put the string under the second column?

Thanks