<?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 : Overloading DoPropExchange()</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Overloading DoPropExchange()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 09:42:26 +0000</pubDate>
  <lastBuildDate>Thu, 24 Dec 2009 10:39:29 +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=15917</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[Overloading DoPropExchange() : Hi, Use pGroup-&amp;gt;GetItems()-&amp;gt;Add(new...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15917&amp;PID=55840&amp;title=overloading-dopropexchange#55840</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15917<br /><strong>Posted:</strong> 24 December 2009 at 10:39am<br /><br /><P>Hi,</P><DIV>Use pGroup-&gt;GetItems()-&gt;Add(new CYourgroupItem());&nbsp; instead of AddTextItem.</DIV>]]>
   </description>
   <pubDate>Thu, 24 Dec 2009 10:39:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15917&amp;PID=55840&amp;title=overloading-dopropexchange#55840</guid>
  </item> 
  <item>
   <title><![CDATA[Overloading DoPropExchange() : I wish to store to disk certain...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15917&amp;PID=55823&amp;title=overloading-dopropexchange#55823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5725">EricFowler</a><br /><strong>Subject:</strong> 15917<br /><strong>Posted:</strong> 23 December 2009 at 3:25pm<br /><br />I wish to store to disk certain properties associated with each group text item in a task panel (it is a text string comprising a database key used to look up associated information, but that should not matter). <br /><br />Since serialization is handled through DoPropExchange() I assume I must overload some part of that mechanism. <br /><br />If I declare a class derived from CXTPTaskPanelGroupItem, then overload DoPropExchange() in that class, I am faced with the problem that insertion of my items into my group is done through CXTPTaskPanelGroup::AddTextItem(), which returns an object of type CXTPTaskPanelGroupItem *, which does not support my overload. <br /><br />My first attempt was to derive a class from CXTPTaskPanelGroup, and have it create and insert my item. But the problem remains: the stored item is not of my class, but the base class, and the serialization/deserialization code I insert into the derived class will not be called. <br /><br />What am I doing wrong? Remember, the objective is to store a small invisible bit of text along with a task panel group item, and to read/write it out of/into the same archive as is routinely done with DoPropExchange(). This must be easy. <br /><br />Thanks<br /><br />Eric]]>
   </description>
   <pubDate>Wed, 23 Dec 2009 15:25:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15917&amp;PID=55823&amp;title=overloading-dopropexchange#55823</guid>
  </item> 
 </channel>
</rss>