<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Specify root folder for CXTShellTreeCtrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Specify root folder for CXTShellTreeCtrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 10:14:14 +0000</pubDate>
  <lastBuildDate>Sat, 11 Jun 2005 15:31:40 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=2332</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Specify root folder for CXTShellTreeCtrl : Yes, sorry, CXTShellListBase &amp;#034;understood&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=7034&amp;title=specify-root-folder-for-cxtshelltreectrl#7034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2332<br /><strong>Posted:</strong> 11 June 2005 at 3:31pm<br /><br /><P>Yes, sorry, CXTShellListBase "understood' only Desktop as root folder. :(</P><P>Please patch attached member.</P><P><A href="http://forum.codejock.com/uploads/oleg/2005-06-11_153016_UpdateList.zip" target="_blank">2005-06-11_153016_UpdateList.zip</A></P><P>&nbsp;</P><P>Thank you for notice it.</P>]]>
   </description>
   <pubDate>Sat, 11 Jun 2005 15:31:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=7034&amp;title=specify-root-folder-for-cxtshelltreectrl#7034</guid>
  </item> 
  <item>
   <title><![CDATA[Specify root folder for CXTShellTreeCtrl : Oleg. After trying your solution,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=7012&amp;title=specify-root-folder-for-cxtshelltreectrl#7012</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 2332<br /><strong>Posted:</strong> 09 June 2005 at 12:07pm<br /><br />Oleg. After trying your solution, I do still have a problem.&nbsp;If&nbsp; I use the example program, GUI_Explorer (9.7RC1), and changethe code in OnCreate to the following:<br><br>&nbsp;<span style="color: rgb(0, 0, 255);">&nbsp;&nbsp; m_shellTree.EnableAutoInit(FALSE);</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; if( !m_shellTree.Create(WS_VISIBLE, CRect(0,0,0,0), this, IDC_TREE_VIEW))</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; {</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0( "Unable to create tree control.\n" );</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; }</span><br style="color: rgb(0, 0, 255);"><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; if (m_shellTree.InitializeTree( XTOSVersionInfo()-&gt;IsWinXPOrGreater() ?</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; (TVS_HASBUTTONS|TVS_SINGLEEXPAND|TVS_TRACKSELECT |TVS_SHOWSELALWAYS) :</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; (TVS_HASBUTTONS|TVS_HASLINES|TVS_LINESATROOT) ))</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; {</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_shellTree.PopulateTree (_T("C:\\Program Files"));</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">&nbsp;&nbsp;&nbsp; }</span><br style="color: rgb(0, 0, 255);"><br style="color: rgb(0, 0, 255);">then everything works fine until I click on the root folder.&nbsp; Inthis case the root folder is "Program Files".&nbsp; What displays inthe list control view is the contents of the desktop not the contentsof "Program Files".<br><br>Larry<br>]]>
   </description>
   <pubDate>Thu, 09 Jun 2005 12:07:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=7012&amp;title=specify-root-folder-for-cxtshelltreectrl#7012</guid>
  </item> 
  <item>
   <title><![CDATA[Specify root folder for CXTShellTreeCtrl : Thanks Oleg. That worked. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=7011&amp;title=specify-root-folder-for-cxtshelltreectrl#7011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 2332<br /><strong>Posted:</strong> 09 June 2005 at 11:48am<br /><br />Thanks Oleg.&nbsp; That worked.&nbsp;]]>
   </description>
   <pubDate>Thu, 09 Jun 2005 11:48:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=7011&amp;title=specify-root-folder-for-cxtshelltreectrl#7011</guid>
  </item> 
  <item>
   <title><![CDATA[Specify root folder for CXTShellTreeCtrl : call void CXTShellTreeBase::PopulateTree(LPCTSTR...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=6966&amp;title=specify-root-folder-for-cxtshelltreectrl#6966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2332<br /><strong>Posted:</strong> 08 June 2005 at 11:19pm<br /><br /><P>call</P><P>void CXTShellTreeBase::PopulateTree(LPCTSTR lpszPath)</P><P>&nbsp;</P><P>:</P><P>m_wndShellTree.EnableAutoInit(FALSE);<BR>&nbsp;<BR>m_wndShellTree.Create(WS_VISIBLE|WS_CHILD, CXTPEmptyRect(), this, 0);<BR>&nbsp;<BR>if (m_wndShellTree.InitializeTree( XTOSVersionInfo()-&gt;IsWinXPOrGreater() ?<BR> &nbsp;&nbsp;(TVS_HASBUTTONS|TVS_SINGLEEXPAND|TVS_TRACKSELECT |TVS_SHOWSELALWAYS) :<BR>&nbsp;&nbsp;&nbsp; (TVS_HASBUTTONS|TVS_HASLINES|TVS_LINESATROOT) ))<BR>&nbsp;{<BR>&nbsp;&nbsp;m_wndShellTree.PopulateTree(_T("c:\\"));<BR>&nbsp;}</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 08 Jun 2005 23:19:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=6966&amp;title=specify-root-folder-for-cxtshelltreectrl#6966</guid>
  </item> 
  <item>
   <title><![CDATA[Specify root folder for CXTShellTreeCtrl : Is there a way to specify the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=6909&amp;title=specify-root-folder-for-cxtshelltreectrl#6909</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 2332<br /><strong>Posted:</strong> 06 June 2005 at 4:15pm<br /><br />Is there a way to specify the starting folder for a CXTShellTreeCtrlderived class?&nbsp; I don't want to display all drives and folders onmy system. I want to specify a path and have only the sub-folders ofthis path displayed.<br><br>Thanks,<br><br>Larry&nbsp;]]>
   </description>
   <pubDate>Mon, 06 Jun 2005 16:15:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2332&amp;PID=6909&amp;title=specify-root-folder-for-cxtshelltreectrl#6909</guid>
  </item> 
 </channel>
</rss>