Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to change root of CXTPTreeView?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change root of CXTPTreeView?

 Post Reply Post Reply
Author
Message
bigred9678 View Drop Down
Newbie
Newbie


Joined: 04 September 2015
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote bigred9678 Quote  Post ReplyReply Direct Link To This Post Topic: How to change root of CXTPTreeView?
    Posted: 19 December 2017 at 5:49pm
I have derived a Directory TreeView. 

What is the correct way to show a root folder other than the desktop folder? Currently, calling CXTPShellTreeBase::PopulateTree(LPCTSTR lpszPath) only seems to replace the root folder itself and doesn't change or populate the child nodes of the tree.

In this image, the root folder is correct, but all the children are still the children of the desktop folder.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.