<?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 : CXTPControlComboBox::Copy don&#039;t copy selected item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPControlComboBox::Copy don&#039;t copy selected item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:08:01 +0000</pubDate>
  <lastBuildDate>Sun, 09 Dec 2012 05:18:30 +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=20410</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[CXTPControlComboBox::Copy don&#039;t copy selected item : After CXTPControlComboBox::Copy,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20410&amp;PID=69387&amp;title=cxtpcontrolcomboboxcopy-dont-copy-selected-item#69387</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3356">KirillMueller</a><br /><strong>Subject:</strong> 20410<br /><strong>Posted:</strong> 09 December 2012 at 5:18am<br /><br />After CXTPControlComboBox::Copy, the copied control still has -1 as selected item. Is this by design?<div><br></div><div>I've fixed it in my copy of the code by adding&nbsp;</div><div><br></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>SetCurSel(pControlCombo-&gt;GetCurSel());</div></div><div><br></div><div>as last statement (!) in CXTPControlComboBox::Copy, just after&nbsp;CXTPControlPopup::Copy(...). Adding it at any earlier point cannot work because the list of items is copied only in the CXTPControlPopup::Copy(...) call.</div><div><br></div><div>Otherwise, is there a way to make sure that a ComboBox control added to the "Quick Access" controls has the same state as the original control?</div>]]>
   </description>
   <pubDate>Sun, 09 Dec 2012 05:18:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20410&amp;PID=69387&amp;title=cxtpcontrolcomboboxcopy-dont-copy-selected-item#69387</guid>
  </item> 
 </channel>
</rss>