<?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 : Customising CXTPToolBar with combo</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Customising CXTPToolBar with combo]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 10:43:14 +0000</pubDate>
  <lastBuildDate>Wed, 21 Jul 2004 03:42:46 +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=960</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[Customising CXTPToolBar with combo : Yes these samples do add controls...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=960&amp;PID=2542&amp;title=customising-cxtptoolbar-with-combo#2542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 960<br /><strong>Posted:</strong> 21 July 2004 at 3:42am<br /><br /><P>Yes these samples do add controls to the toolbar but in my case I&nbsp;store a pointer to the control which becomes invalid after hiding/showing the control on the toolbar.</P><P>If I just use FindControl() to get the control this works okay after hiding/showing it but the data that was added to the original control with SetItemData()&nbsp; is missing, and it no longer has a current selection&nbsp;(never mind the one it had when it was hidden) which makes no sense for my application.</P><P>What I need is a notification when the control is destroyed so I can clean up if necessary (I don't store pointers with SetItemData() but I might in the future) and a notification when it is redisplayed so I can initialize it properly.&nbsp; Are there any such notifications?</P><P>Thanks.</P>]]>
   </description>
   <pubDate>Wed, 21 Jul 2004 03:42:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=960&amp;PID=2542&amp;title=customising-cxtptoolbar-with-combo#2542</guid>
  </item> 
  <item>
   <title><![CDATA[Customising CXTPToolBar with combo : Take a look at the DynamicPopups...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=960&amp;PID=2538&amp;title=customising-cxtptoolbar-with-combo#2538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 960<br /><strong>Posted:</strong> 20 July 2004 at 11:38am<br /><br />Take a look at the DynamicPopups sample and possible even theCommonControls sample.&nbsp; I believe the DynamicPopups sample doeswhat you are describing.]]>
   </description>
   <pubDate>Tue, 20 Jul 2004 11:38:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=960&amp;PID=2538&amp;title=customising-cxtptoolbar-with-combo#2538</guid>
  </item> 
  <item>
   <title><![CDATA[Customising CXTPToolBar with combo : I have a CXTPToolBar that contains...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=960&amp;PID=2537&amp;title=customising-cxtptoolbar-with-combo#2537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 960<br /><strong>Posted:</strong> 20 July 2004 at 11:25am<br /><br /><P>I have a CXTPToolBar that contains a combo box.&nbsp; In OnCreateControl() I create and add the CXTPControlComboBox object for the toolbar.</P><P>This all works fine but if you customise the toolbar by clicking on the 'toolbar options' button on the end of the toolbar and deselect the combo control, and then later add it back in again, you get an exception when you use it.</P><P>The OnCreateControl() function does not appear to get called a second time when you restore the combo but the control does not seem to be the original one -&nbsp;but the list box still contains all the items added to the original!!</P><P>Can anyone tell me how I should be handling this situation?&nbsp; Thanks.</P>]]>
   </description>
   <pubDate>Tue, 20 Jul 2004 11:25:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=960&amp;PID=2537&amp;title=customising-cxtptoolbar-with-combo#2537</guid>
  </item> 
 </channel>
</rss>