<?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 : Knowing when a child item has changed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Knowing when a child item has changed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 09:07:14 +0000</pubDate>
  <lastBuildDate>Tue, 10 Nov 2009 16:08:27 +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=15577</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[Knowing when a child item has changed : Thanks, that is what I thought,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15577&amp;PID=54718&amp;title=knowing-when-a-child-item-has-changed#54718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1834">eggbox</a><br /><strong>Subject:</strong> 15577<br /><strong>Posted:</strong> 10 November 2009 at 4:08pm<br /><br />Thanks, that is what I thought, it would be cool to have a callback named something like OnChildValueChanged() though.<br><br>//*Ergin<br><br>]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 16:08:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15577&amp;PID=54718&amp;title=knowing-when-a-child-item-has-changed#54718</guid>
  </item> 
  <item>
   <title><![CDATA[Knowing when a child item has changed : Yes, only with OnValueChanged...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15577&amp;PID=54707&amp;title=knowing-when-a-child-item-has-changed#54707</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15577<br /><strong>Posted:</strong> 10 November 2009 at 1:49pm<br /><br />Yes, only with OnValueChanged :(<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>at least CXTPPropertyGridItemSize works this way:</DIV><DIV>&nbsp;</DIV><DIV>class CXTPPropertyGridItemSize::CXTPPropertyGridItemSizeWidth : public CXTPPropertyGridItemNumber<BR>{<BR>public:<BR>&nbsp;CXTPPropertyGridItemSizeWidth(LPCTSTR strCaption)<BR>&nbsp;&nbsp;: CXTPPropertyGridItemNumber(strCaption)<BR>&nbsp;{<BR>&nbsp;}</DIV><DIV>&nbsp;virtual void OnValueChanged(CString strValue)<BR>&nbsp;{<BR>&nbsp;&nbsp;((CXTPPropertyGridItemSize*)m_pParent)-&gt;SetWidth(strValue);<BR>&nbsp;}<BR>&nbsp;virtual BOOL GetReadOnly() const<BR>&nbsp;{<BR>&nbsp;&nbsp;return m_pParent-&gt;GetReadOnly();<BR>&nbsp;}<BR>};<BR></DIV>]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 13:49:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15577&amp;PID=54707&amp;title=knowing-when-a-child-item-has-changed#54707</guid>
  </item> 
  <item>
   <title><![CDATA[Knowing when a child item has changed : This is the scenario, I create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15577&amp;PID=54703&amp;title=knowing-when-a-child-item-has-changed#54703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1834">eggbox</a><br /><strong>Subject:</strong> 15577<br /><strong>Posted:</strong> 10 November 2009 at 11:42am<br /><br />This is the scenario, I create an item that contains child items, I want to know when any of the child items' value has changed without having to write code in the child items OnValueChanged() to call the parent.<br><br>//*Ergin<br><br>]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 11:42:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15577&amp;PID=54703&amp;title=knowing-when-a-child-item-has-changed#54703</guid>
  </item> 
 </channel>
</rss>