My application uses a TreeView control and I'm having trouble showing an item. The program compiles perfectly fine, but when I run it, there isn't the item in the TreeView like I thought I programmed in. Any ideas? Here's the code where it adds an element to the TreeView (or at least that I thought would add an element):
Code:
void InitTree(void)
{
    TV_INSERTSTRUCT  tvs;
    TV_ITEM          tvi;

    tvs.hInsertAfter = TVI_LAST;
    tvi.mask = TVIF_TEXT;

    tvi.pszText = TEXT("test");
    tvs.hParent = TVI_ROOT;
    tvs.item = tvi;
    hTreeItem = TreeView_InsertItem(hTreeWndCtrl, &tvs);
    hTreeCurrent = hTreeItem;
}
Any ideas why I can't get my element to show up? What do I need to change/do?

Thanks!