<?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 : Copy item data when CXTPControlComboBox cloned?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Copy item data when CXTPControlComboBox cloned?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:44:18 +0000</pubDate>
  <lastBuildDate>Fri, 02 Oct 2015 12:28:02 +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=22710</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[Copy item data when CXTPControlComboBox cloned? : Not sure if this will help in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22710&amp;PID=73981&amp;title=copy-item-data-when-cxtpcontrolcombobox-cloned#73981</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 22710<br /><strong>Posted:</strong> 02 October 2015 at 12:28pm<br /><br />Not sure if this will help in your case but we subclass some controls and override DoPropExchange(CXTPPropExchange* pPX) and save/read our data for customization purposes.<br><br>Also, I recently modified some code that used a CXTPControlComboBox derived class and I had to override the Copy method. Failing to do so caused me to loose data when the user right-clicked the control and ran "Add To QAT". I needed the extra data associated with the entries in order to generate image icons for the entries and didn't think about the Copy method until someone showed me the images were missing when the put the control on the QAT. I never thought about testing that :(<br>]]>
   </description>
   <pubDate>Fri, 02 Oct 2015 12:28:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22710&amp;PID=73981&amp;title=copy-item-data-when-cxtpcontrolcombobox-cloned#73981</guid>
  </item> 
  <item>
   <title><![CDATA[Copy item data when CXTPControlComboBox cloned? : I found that the modified toolbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22710&amp;PID=73859&amp;title=copy-item-data-when-cxtpcontrolcombobox-cloned#73859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1284">franji1</a><br /><strong>Subject:</strong> 22710<br /><strong>Posted:</strong> 02 September 2015 at 5:24pm<br /><br />I found that the modified toolbars are serialized, and that it's actually the default behavior of the CXTPControlComboBoxList to just serialize the item text, not the item data.<br /><br />This is DEFINITLY the CORRECT behavior.<br /><br />HOWEVER, what would be the proper mechanism to override this behavior, and also serialize the ItemData, along with the item text?<br /><br />Again, this is dealing with a customized toolbar (e.g. removed the Help button from the end) that also contains a CXTPControlComboBox.  So because the toolbar was "customized", it serialized the combo box (in addition to all the other controls in that toolbar), but without the item data.  So when I shut down and re-run the software, when it loads the customized toolbar, the combo box is there and looks fine, but when I select something, the item data for every item is 0, so ALL the entries behave like the "zeroth" entry.&nbsp;&nbsp;&nbsp;<img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="middle" /> ]]>
   </description>
   <pubDate>Wed, 02 Sep 2015 17:24:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22710&amp;PID=73859&amp;title=copy-item-data-when-cxtpcontrolcombobox-cloned#73859</guid>
  </item> 
  <item>
   <title><![CDATA[Copy item data when CXTPControlComboBox cloned? : Whenever a toolbar that contains...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22710&amp;PID=73852&amp;title=copy-item-data-when-cxtpcontrolcombobox-cloned#73852</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1284">franji1</a><br /><strong>Subject:</strong> 22710<br /><strong>Posted:</strong> 01 September 2015 at 7:01pm<br /><br />Whenever a toolbar that contains a CXTPControlComboBox is "customized", the next time it loads, the list contains all the text but all the item data is still 0.<br /><br />The CXTPControlComboBox is "Copy"ed during a clone process, and the text is obviously copied, but the item data is not.<br /><br />What is the proper mechanism to set the item data when the original CXTPControlComboBox is copied?]]>
   </description>
   <pubDate>Tue, 01 Sep 2015 19:01:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22710&amp;PID=73852&amp;title=copy-item-data-when-cxtpcontrolcombobox-cloned#73852</guid>
  </item> 
 </channel>
</rss>