Print Page | Close Window

How to change root of CXTPTreeView?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23528
Printed Date: 25 April 2024 at 11:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change root of CXTPTreeView?
Posted By: bigred9678
Subject: How to change root of CXTPTreeView?
Date 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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net