<?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 : Assert in CXTShellListCtrlEx::OnLButtonDblClk</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Assert in CXTShellListCtrlEx::OnLButtonDblClk]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 13:16:23 +0000</pubDate>
  <lastBuildDate>Wed, 31 Jan 2007 11:27:58 +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=6274</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[Assert in CXTShellListCtrlEx::OnLButtonDblClk : Thanks. Changing from CXTShellListCtrlEx...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6274&amp;PID=19953&amp;title=assert-in-cxtshelllistctrlexonlbuttondblclk#19953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 6274<br /><strong>Posted:</strong> 31 January 2007 at 11:27am<br /><br /><P><FONT face="Times New Roman"><SPAN style="FONT-SIZE: 10pt; COLOR: #020002">Thanks.&nbsp; Changing from CXTShellListCtrlEx to CXTShellListCtrl does eliminate the ASSERT.&nbsp; However,&nbsp;the call to&nbsp;SetRootFolder (CSIDL_DRIVES) has its own problems.&nbsp; First, I had to call it before the tree was initialized, otherwise nothing happened.&nbsp; Second, all of the icons in the tree are lost by doing this.</P><DIV></DIV><P><FONT color=#000000><FONT color=#008000 size=2><FONT color=#020002>That is not a big deal for me because I&nbsp;want the desktop to be the root, which is the default.&nbsp; I just need to figure out how to programmatically expand and select "Computer" so that the contents of "Computer" are initially displayed in the list control.&nbsp; I don't want to rely on the string "Computer" since my program may be executed on machines using different languages.</P><DIV></DIV><DIV></DIV>Any ideas.&nbsp; </FONT></FONT></FONT></SPAN></FONT>]]>
   </description>
   <pubDate>Wed, 31 Jan 2007 11:27:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6274&amp;PID=19953&amp;title=assert-in-cxtshelllistctrlexonlbuttondblclk#19953</guid>
  </item> 
  <item>
   <title><![CDATA[Assert in CXTShellListCtrlEx::OnLButtonDblClk : Hi, Use  CXTShellListCtrl instread...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6274&amp;PID=19905&amp;title=assert-in-cxtshelllistctrlexonlbuttondblclk#19905</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6274<br /><strong>Posted:</strong> 31 January 2007 at 1:10am<br /><br />Hi,<DIV>Use <FONT color=#020002 size=1></DIV><P>CXTShellListCtrl instread of <FONT size=2>CXTShellListCtrlEx.</P><DIV></DIV><P>&nbsp;</P><P>Use tree.GetSelectedFolderPath(CString&amp; strFolderPath); to get current path</P><DIV>Call SetRootFolder to change root folder.</DIV><DIV>&nbsp;</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 31 Jan 2007 01:10:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6274&amp;PID=19905&amp;title=assert-in-cxtshelllistctrlexonlbuttondblclk#19905</guid>
  </item> 
  <item>
   <title><![CDATA[Assert in CXTShellListCtrlEx::OnLButtonDblClk : uploads/20070130_193936_ShellListTest.zip  Version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6274&amp;PID=19897&amp;title=assert-in-cxtshelllistctrlexonlbuttondblclk#19897</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 6274<br /><strong>Posted:</strong> 30 January 2007 at 7:41pm<br /><br /><a href="https://forum.codejock.com/uploads/20070130_193936_ShellListTest.zip" target="_blank">uploads/20070130_193936_ShellListTest.zip</A><DIV>&nbsp;</DIV><DIV>Version 10.4.2</DIV><DIV>&nbsp;</DIV><DIV>I am attaching source for a simple program that has a CXTShellTreeCtrl, a <FONT size=2>CXTShellListCtrlEx, and a CEdit control all on a CFormView.&nbsp; If you double-click on folders in the list control you will get an ASSERT (in debug mode of course) within a few clicks because the <FONT size=2>m_strItemPath variable is empty.&nbsp; </FONT></FONT><FONT size=2>Note that I am not using the View versions of the controls, like most of the CodeJock sample programs.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Also, I have the following questions,</FONT></DIV><OL><LI><FONT size=2>How are you to tell what the current path is of the tree and/or the list control?&nbsp; I see a variable in the list control that should contain the path, but it is a protected member and doesn't have an accessor method.&nbsp; I don't want to rely on a syncWnd to have the path text.<BR></FONT></LI><LI><FONT size=2>In the tree control, I have the desktop as the root, but how do I initially select and expand the "Computer" folder?<BR></FONT></LI><LI><FONT size=2>I have an Edit control on the form and I call m_<FONT size=2>ctrlList.SetSyncWnd( &amp;m_ctrlEdit ), but it is never updated.&nbsp; Should it be updated with the path?</FONT></FONT></LI></OL><DIV><FONT size=2>Thanks,</FONT></DIV><DIV><FONT size=2>Larry</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 30 Jan 2007 19:41:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6274&amp;PID=19897&amp;title=assert-in-cxtshelllistctrlexonlbuttondblclk#19897</guid>
  </item> 
 </channel>
</rss>