Menu

Getting the name of a TreeView item - how?

2003-01-06
2012-09-26
  • Nobody/Anonymous

    I am working on a directory TreeView. When I select a dir (HTREEITEM hItem) I want to get the full path to that dir in a string. Like this:

        LPTSTR path;
        do
        {
            /* path =  'name of hItem'  + \ + path; */
            hItem = TreeView_GetParent(g_hwndTreeView, hItem );
        }
            while( hItem );

    My problem is the /*...*/ part. How can I do this? MFC has a command for this, but I don't use MFC.

    Johan

     
    • Nobody/Anonymous

      please.....

      Johan

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.