<?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 : BUG: CMarkupTreeCtrl  + EnableMultiSelect</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : BUG: CMarkupTreeCtrl  + EnableMultiSelect]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:29:26 +0000</pubDate>
  <lastBuildDate>Fri, 10 Jul 2009 06:21:36 +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=14704</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[BUG: CMarkupTreeCtrl  + EnableMultiSelect : Hi,  Problem here that GetItemRect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14704&amp;PID=50836&amp;title=bug-cmarkuptreectrl-enablemultiselect#50836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14704<br /><strong>Posted:</strong> 10 July 2009 at 6:21am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Problem here that GetItemRect assumes item is empty and return with of emty string, so XTTreeCtrl can't determine if curor around item.</DIV><DIV>&nbsp;</DIV><DIV>Weird workaround here is to set some space string to match Markup you have.</DIV><DIV>&nbsp;</DIV><DIV>hItem = InsertItem(_T("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "), nImage, nSelectedImage, hParent, hInsertAfter);</DIV>]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 06:21:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14704&amp;PID=50836&amp;title=bug-cmarkuptreectrl-enablemultiselect#50836</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: CMarkupTreeCtrl  + EnableMultiSelect : XTP 13.1. m_treeCtrl.EnableMultiSelect();...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14704&amp;PID=50777&amp;title=bug-cmarkuptreectrl-enablemultiselect#50777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14704<br /><strong>Posted:</strong> 08 July 2009 at 8:31am<br /><br /><P>XTP 13.1.</P><DIV>m_treeCtrl.EnableMultiSelect(); // CMarkupTreeCtrl-derived class</DIV><DIV>&nbsp;</DIV><DIV></DIV><DIV>After that call you can select multiple items, but selecting ONE item is impossible. You only get an ugly focus rectangle around your item.</DIV><DIV>&nbsp;</DIV><DIV>Actually, there seems to be a problem with right-clicks too. As soon as I inherit CMarkupTreeCtrl, right-clicking causes the focus to go away (painting problem?). Please point me in the right direction. I really need markup <EM>and</EM> correct tree control behavior :(</DIV>]]>
   </description>
   <pubDate>Wed, 08 Jul 2009 08:31:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14704&amp;PID=50777&amp;title=bug-cmarkuptreectrl-enablemultiselect#50777</guid>
  </item> 
 </channel>
</rss>