<?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 : Load a dynamic tearoff-bar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Load a dynamic tearoff-bar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 05:59:06 +0000</pubDate>
  <lastBuildDate>Sun, 02 Dec 2007 19:05:33 +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=8957</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[Load a dynamic tearoff-bar : Dear oleg.  Isolved it. thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8957&amp;PID=29105&amp;title=load-a-dynamic-tearoffbar#29105</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3537">tokist</a><br /><strong>Subject:</strong> 8957<br /><strong>Posted:</strong> 02 December 2007 at 7:05pm<br /><br />Dear oleg.<DIV>&nbsp;</DIV><DIV>I&nbsp;solved it.&nbsp; thanks your response!</DIV>]]>
   </description>
   <pubDate>Sun, 02 Dec 2007 19:05:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8957&amp;PID=29105&amp;title=load-a-dynamic-tearoffbar#29105</guid>
  </item> 
  <item>
   <title><![CDATA[Load a dynamic tearoff-bar : Hello, After you create new state...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8957&amp;PID=29036&amp;title=load-a-dynamic-tearoffbar#29036</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8957<br /><strong>Posted:</strong> 30 November 2007 at 1:05am<br /><br />Hello,<DIV>After you create new state for toolbar call pToolBar-&gt;GetControls()-&gt;CreateOriginalControls().</DIV>]]>
   </description>
   <pubDate>Fri, 30 Nov 2007 01:05:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8957&amp;PID=29036&amp;title=load-a-dynamic-tearoffbar#29036</guid>
  </item> 
  <item>
   <title><![CDATA[Load a dynamic tearoff-bar : Hi, I tryed next code.I wish...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8957&amp;PID=29024&amp;title=load-a-dynamic-tearoffbar#29024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3537">tokist</a><br /><strong>Subject:</strong> 8957<br /><strong>Posted:</strong> 29 November 2007 at 12:36pm<br /><br /><P>Hi,</P><P>I tryed next code.<BR>I wish LoadCommandBars method restore my tearoff-bar's last state.<BR>But it failed.</P><P>I think&nbsp;the cause is&nbsp;this code can't regist new popupbar to CommadBars::m_arrBars.</P><P>Please give me a hint. thanks.</P><DIV>//---------------------------------------------------<BR>CMainFrame::RestoreToolbar()<BR>{</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV>&nbsp;CXTPToolBar* pBar = GetCommandBars()-&gt;GetToolBar(ID_XXX_BAR);<BR>&nbsp;....<BR>&nbsp;<BR>&nbsp;CXTPControlPopup* pPop = new CXTPControlPopup;<BR>&nbsp;pBar-&gt;GetControls()-&gt;Add(pPop);<BR>&nbsp;<BR>&nbsp;CXTPPopupBar* p = CXTPPopupToolBar::CreatePopupToolBar(GetCommandBars());<BR>&nbsp;pPop-&gt;SetCommandBar(p);<BR>&nbsp;p-&gt;SetTearOffPopup(strName, ID_XXX_BAR+1);<BR>&nbsp;p-&gt;InternalRelease();<BR>&nbsp;<BR>&nbsp;....<BR>&nbsp;<BR>&nbsp;LoadCommandBars(_T("CommandBars"));</DIV><DIV><BR>&nbsp;</DIV></BLOCKQUOTE>]]>
   </description>
   <pubDate>Thu, 29 Nov 2007 12:36:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8957&amp;PID=29024&amp;title=load-a-dynamic-tearoffbar#29024</guid>
  </item> 
 </channel>
</rss>