<?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 : CreateControlCustom destroy issues</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CreateControlCustom destroy issues]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:25:20 +0000</pubDate>
  <lastBuildDate>Sat, 10 Jan 2009 10:00:59 +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=13138</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[CreateControlCustom destroy issues : Hi, Strange have work.... Do...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13138&amp;PID=44421&amp;title=createcontrolcustom-destroy-issues#44421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13138<br /><strong>Posted:</strong> 10 January 2009 at 10:00am<br /><br /><P>Hi,</P><DIV>Strange have work.... Do you have 12.x version ?</DIV>]]>
   </description>
   <pubDate>Sat, 10 Jan 2009 10:00:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13138&amp;PID=44421&amp;title=createcontrolcustom-destroy-issues#44421</guid>
  </item> 
  <item>
   <title><![CDATA[CreateControlCustom destroy issues : Folks,  We&amp;#039;ve just started...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13138&amp;PID=44405&amp;title=createcontrolcustom-destroy-issues#44405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4865">hkhan</a><br /><strong>Subject:</strong> 13138<br /><strong>Posted:</strong> 09 January 2009 at 5:13pm<br /><br />Folks,<br /><br />We've just started using XT, and we're having some issues.<br /><br />We create a Windows Slider control, and then dock it using the following:<br /><br />void Foo::AddThumbWheel(CXTPRibbonGroup* pGroup, AppCommand* command, int width, bool startGroup)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Create the Slider control and add it to the bar.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CSliderCtrl* wndSlider = new CSliderCtrl();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wndSlider-&gt;Create(TBS_HORZ | TBS_NOTICKS | WS_CHILD | WS_VISIBLE, CRect(0, 0, width, 19), this, command-&gt;GetID());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wndSlider-&gt;SetRangeMax(255);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPControlCustom* pControlSlider = CXTPControlCustom::CreateControlCustom(wndSlider);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pControlSlider-&gt;SetBorders(0,1,0,0); // (right, top, left, bottom)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pGroup-&gt;Add(pControlSlider, command-&gt;GetID());<br />}<br /><br />The problem is, when pGroup is destroyed (via m_pRibbonBar-&gt;RemoveTab( tab ); ), the slider does not disappear, but stays on the ribbon bar.<br /><br />Are we adding the control incorrectly?<br /><br />Thanks much, folks. I've spent a day tearing my hair out over this.<br /><br /><br />]]>
   </description>
   <pubDate>Fri, 09 Jan 2009 17:13:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13138&amp;PID=44405&amp;title=createcontrolcustom-destroy-issues#44405</guid>
  </item> 
 </channel>
</rss>