<?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 : How toopen needed branch in GUI_Explorer?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How toopen needed branch in GUI_Explorer?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 18:00:25 +0000</pubDate>
  <lastBuildDate>Mon, 08 Aug 2005 09:41:01 +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=2684</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[How toopen needed branch in GUI_Explorer? : Thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2684&amp;PID=8047&amp;title=how-toopen-needed-branch-in-gui-explorer#8047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1374">ksiva</a><br /><strong>Subject:</strong> 2684<br /><strong>Posted:</strong> 08 August 2005 at 9:41am<br /><br />Thanks.]]>
   </description>
   <pubDate>Mon, 08 Aug 2005 09:41:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2684&amp;PID=8047&amp;title=how-toopen-needed-branch-in-gui-explorer#8047</guid>
  </item> 
  <item>
   <title><![CDATA[How toopen needed branch in GUI_Explorer? :  1. use PopulateTree PopulateTree(lpszPathName); bvut...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2684&amp;PID=8020&amp;title=how-toopen-needed-branch-in-gui-explorer#8020</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2684<br /><strong>Posted:</strong> 05 August 2005 at 11:38pm<br /><br /><FONT size=2><P>1. use <FONT size=2>PopulateTree</FONT></P><P><FONT size=2>PopulateTree(lpszPathName);</FONT></P><P><FONT size=2>bvut check if m_TreeCtrl.GetSafeHwnd() not NULL in <strong>CDocument::OnOpenDocument. </strong>Don';t think it is right pace.</P></FONT><P>2: in 9.70 was added m_TreeCtrl.SetRootFolder(<FONT color=#000000 size=2>nRootFolder)</FONT></P><P><FONT color=#008000 size=2><FONT color=#000000>try SetRootFolder</FONT><FONT color=#000000>(CSIDL_PERSONAL) in constructor of m_TreeCtrl</FONT></P></FONT></FONT><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 05 Aug 2005 23:38:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2684&amp;PID=8020&amp;title=how-toopen-needed-branch-in-gui-explorer#8020</guid>
  </item> 
  <item>
   <title><![CDATA[How toopen needed branch in GUI_Explorer? : How to open needed branch in GUI_Explorer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2684&amp;PID=8004&amp;title=how-toopen-needed-branch-in-gui-explorer#8004</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1374">ksiva</a><br /><strong>Subject:</strong> 2684<br /><strong>Posted:</strong> 04 August 2005 at 3:52pm<br /><br /><DIV><FONT color=#ff0000>How to open needed branch in GUI_Explorer at start time when&nbsp;the particular brach is put to command line?</FONT></DIV><DIV><FONT color=#ff0000></FONT>&nbsp;</DIV><DIV>I use GUI_Explorer example. Really it is very similar to explorer.exe. </DIV><DIV>I want to add some functionality. I want make it work as explorer. </DIV><DIV>&nbsp;</DIV><DIV>When you run explorer with command line parameter then it uses parameter as folder or disk name to browse in the left tree. For example "explorer.exe z:\folder" opens in the tree the corresponding branch of disk Z:. So I want to do the same.</DIV><DIV>&nbsp;</DIV><DIV>But I stuck there. When I add parameter to command line then MFC takes this parameter as the event that user wants to open a document. So when it process ProcessShellCommand function it calls CDocument::OnOpenDocument()&nbsp; and I should change tree position here. (Or not?) &nbsp;I tried to do it and called  GetParentFrame()-&gt;m_TreeCtrl.TunnelTree(lpszPathName)&nbs p; but it fails on ASSERT inside MFC. I tried some different places but again I get ASSERT falure. Looks like CShellListCtrl is not in memory or something else.</DIV><DIV>&nbsp;</DIV><DIV><strong>How to make CShellListCtrl position to the needed place?</strong> </DIV><DIV>&nbsp;</DIV><DIV>Now it uses "My documents" folder to start from.</DIV><DIV>&nbsp;</DIV><DIV><strong>Is it right place&nbsp;CDocument::OnOpenDocument()&nbsp;to control&nbsp;CShellListCtrl?</strong></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 04 Aug 2005 15:52:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2684&amp;PID=8004&amp;title=how-toopen-needed-branch-in-gui-explorer#8004</guid>
  </item> 
 </channel>
</rss>