<?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 : Toolbars in a pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Toolbars in a pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 17:55:37 +0000</pubDate>
  <lastBuildDate>Mon, 06 Feb 2006 14:22:09 +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=3603</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[Toolbars in a pane : Go back to the Advanced example....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3603&amp;PID=10837&amp;title=toolbars-in-a-pane#10837</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=504">AliRafiee</a><br /><strong>Subject:</strong> 3603<br /><strong>Posted:</strong> 06 February 2006 at 2:22pm<br /><br /><P>Go back to the Advanced example. Load up DockingFrame.cpp</P><P>First comment out the line: (in OnCreate method)</P><P> pCommandBar-&gt;GetCommandBarOptions()-&gt;bShowExapndButton Always = FALSE;</P><P>this alone will get the customize drop down button do dispaly.</P><P>Next add the following line to Message map</P><P>ON_COMMAND(XTP_ID_CUSTOMIZE, OnCustomize)</P><P>and the method</P><P>void CDockingFrame::OnCustomize()<BR>{<BR>&nbsp;&nbsp; // get a pointer to the command bars object.<BR>&nbsp;CXTPCommandBars* pCommandBars = GetCommandBars();<BR>&nbsp;if (pCommandBars == NULL)<BR>&nbsp;&nbsp;return;</P><P>&nbsp;// instanciate the customize dialog<BR>&nbsp;CXTPCustomizeSheet dlg(pCommandBars);</P><P>&nbsp;// add the options page to the customize dialog.<BR>&nbsp;CXTPCustomizeOptionsPage pageOptions(&amp;dlg);<BR>&nbsp;dlg.AddPage(&amp;pageOptions);</P><P>&nbsp;// add the commands page to the customize dialog.<BR>&nbsp;CXTPCustomizeCommandsPage* pPageCommands = dlg.GetCommandsPage();<BR>&nbsp;pPageCommands-&gt;AddCategories(IDR_ADVANCTYPE);</P><P>&nbsp;// initialize the commands page page.<BR>&nbsp;pPageCommands-&gt;InsertAllCommandsCategory();<BR>&nbsp;pPageCommands-&gt;InsertBuiltInMenus(IDR_ADVANCTYPE);<BR>&nbsp;pPageCommands-&gt;InsertNewMenuCategory();</P><P>&nbsp;// display the customize dialog.<BR>&nbsp;dlg.DoModal();<BR>}<BR></P><P>Don't forget to add</P><P>afx_msg void OnCustomize(); </P><P>to the class definition.</P><P>Now the Docking Frame on the right hand side has the customize.</P><P>Good luck</P><P>Ali Rafiee<BR></P>]]>
   </description>
   <pubDate>Mon, 06 Feb 2006 14:22:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3603&amp;PID=10837&amp;title=toolbars-in-a-pane#10837</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbars in a pane : Hi, Is there a way to insert...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3603&amp;PID=10823&amp;title=toolbars-in-a-pane#10823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 3603<br /><strong>Posted:</strong> 06 February 2006 at 1:02am<br /><br /><P>Hi,</P><P>Is there a way to insert a toolbar to a pane, and the toolbar will support customization ?</P><P>(In the "Advanced" sample I couldnt add/remove commands to the toolbars of the panes).</P><P>Yoav.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 06 Feb 2006 01:02:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3603&amp;PID=10823&amp;title=toolbars-in-a-pane#10823</guid>
  </item> 
 </channel>
</rss>