<?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 : HOWTO: XTPPropertyGridItem with drop down tree</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : HOWTO: XTPPropertyGridItem with drop down tree]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 14:57:17 +0000</pubDate>
  <lastBuildDate>Mon, 20 Nov 2006 13:56:17 +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=5561</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[HOWTO: XTPPropertyGridItem with drop down tree : :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17495&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17495</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5561<br /><strong>Posted:</strong> 20 November 2006 at 1:56pm<br /><br /><P>:)</P>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 13:56:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17495&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17495</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: XTPPropertyGridItem with drop down tree : Hello Oleg; you&amp;#039;re absolutely...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17493&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17493</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5561<br /><strong>Posted:</strong> 20 November 2006 at 1:28pm<br /><br /><P>Hello Oleg;</P><P>you're absolutely right. First I did it the wrong way. I tried to find a somehow 'universal' solution that encapsulates the detail of the tree portion. <BR>On the other hand I wanted to minimize the amount of source code needed to implement tree items with different content.</P><P>Martin</P>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 13:28:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17493&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17493</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: XTPPropertyGridItem with drop down tree : Hi,  why so difficult... why...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17488&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17488</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5561<br /><strong>Posted:</strong> 20 November 2006 at 10:40am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>why so difficult... why you can't just add this Tree as member and </DIV><DIV>&nbsp;</DIV><DIV>use pItem-&gt;GetTreeCtrl() method to retrieve tree and add nodes.</DIV>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 10:40:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17488&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17488</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: XTPPropertyGridItem with drop down tree : Hi Oleg;  I have done this already...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17480&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5561<br /><strong>Posted:</strong> 20 November 2006 at 9:46am<br /><br />Hi Oleg;<DIV>&nbsp;</DIV><DIV>I have done this already but I'm having troubles in using the control as if it's an item with a simple list where the constraints container determines the tree nodes.</DIV><DIV>&nbsp;</DIV><DIV>I looked into the internal grid item / constraints design and found out, that its not possible to create my own XTPPropertyGridItemConstraints derived collection, since the <FONT size=2>m_arrConstraints member is private and no protected or public function exists to insert my own constraint into this list.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>All I wanted to do is to provide a somehow standard interface to reusable property tree items like shown in this "pseudo" code sequence:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>pItem=grid.AddChildItem(new CMyPropertyGridItemTree(...))</FONT></DIV><DIV><FONT size=2>pConstraints=pItem-&gt;GetConstraints()</FONT></DIV><DIV><FONT size=2>pConstraints.AddConstraint("Item text", new MyItemConstraintData(...));</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I need this additional constraint item data to provide such informations as 'parent', 'internal key', ...</FONT></DIV><DIV><FONT size=2>My problem is, that I can't find a - only coded once - solution to delete my constraint item data on shutdown.</FONT></DIV><DIV><FONT size=2>In my opinion, the right place to do this is in the dtor of the CXTPPropertyGridItemConstraints() class, which I have to override because I use the m_dwData member to store the additional MyItemConstraintData pointer. And now the hidden m_ArrConstraints member comes in once again...</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I know, that I could change the source of you library, but thats an maintenance issue, and therefore not allowed in our company.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Martin</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 09:46:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17480&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17480</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: XTPPropertyGridItem with drop down tree : Hi,  The best design is to create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17479&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17479</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5561<br /><strong>Posted:</strong> 20 November 2006 at 9:19am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>The best design is to create new class derived from CXTPPropertyGridItem, override its OnInplaceButtonDown and show your tree.</DIV>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 09:19:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17479&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17479</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: XTPPropertyGridItem with drop down tree : Hi;  In our most recent project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17473&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5561<br /><strong>Posted:</strong> 20 November 2006 at 7:58am<br /><br />Hi;<DIV>&nbsp;</DIV><DIV>In our most recent project I need a property grid item with dropdown tree support.</DIV><DIV>Has anyone ever done this? Whats the (best) design to realize this. </DIV><DIV>I prefer to use the CXTPPropertyGridItemConstraints* collection to hold the tree items data, due to minimize the break&nbsp;of the&nbsp;existing grid item design.</DIV><DIV>&nbsp;</DIV><DIV>Any help is appreciated</DIV><DIV>&nbsp;</DIV><DIV>Martin</DIV>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 07:58:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5561&amp;PID=17473&amp;title=howto-xtppropertygriditem-with-drop-down-tree#17473</guid>
  </item> 
 </channel>
</rss>