i cant get the tree view control to display items. it just displays a blank window. here's my code:
whats wrong?Code:TV_INSERTSTRUCT tvins; TV_ITEM tvi; tvi.mask=TVIF_TEXT; tvi.pszText="Item"; tvins.hParent=TVI_ROOT; tvins.hInsertAfter=TVI_FIRST; tvins.item=tvi; TreeView_InsertItem(hwndTree,&tvins);