<?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 : Assign Toolbars to individual Containers</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Assign Toolbars to individual Containers]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 04:54:59 +0000</pubDate>
  <lastBuildDate>Fri, 30 Jun 2006 16:17:08 +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=4418</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[Assign Toolbars to individual Containers : I&amp;#039;m not sure how to do it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13957&amp;title=assign-toolbars-to-individual-containers#13957</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4418<br /><strong>Posted:</strong> 30 June 2006 at 4:17pm<br /><br />I'm not sure how to do it using the design time editor with only one control.&nbsp; I used 2 frames and 2 CommandBars and created the buttons at runtime with the posted code and it's working out for what I need it to do.<br><br>Sorry I couldn't be more help.<br>]]>
   </description>
   <pubDate>Fri, 30 Jun 2006 16:17:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13957&amp;title=assign-toolbars-to-individual-containers#13957</guid>
  </item> 
  <item>
   <title><![CDATA[Assign Toolbars to individual Containers : How does this solve the original...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13956&amp;title=assign-toolbars-to-individual-containers#13956</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2136">mjdgreen</a><br /><strong>Subject:</strong> 4418<br /><strong>Posted:</strong> 30 June 2006 at 4:09pm<br /><br />How does this solve the original problem of having toolbars from the same control appear in different containers. If you use the Design time editor to create the toolbars so that no separate file is needed then all the toolbars created must appear within the same container. If I want toolbars to appear in separate containers then I need to have separate controls in each container. Now the problem is I may have the "same" control appear in both toolbars. In this case unless I create the toolbars at run-time and co-ordinate the IDs myself the same control will have different IDs in the different controls. Also from a code point of view I have to deal with the same control in two different places. There is a method AttachToWindow but I cannot get this to work for individual toolbars.]]>
   </description>
   <pubDate>Fri, 30 Jun 2006 16:09:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13956&amp;title=assign-toolbars-to-individual-containers#13956</guid>
  </item> 
  <item>
   <title><![CDATA[Assign Toolbars to individual Containers : I did it with the following code:Dim...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13955&amp;title=assign-toolbars-to-individual-containers#13955</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4418<br /><strong>Posted:</strong> 30 June 2006 at 3:11pm<br /><br />I did it with the following code:<br><br>Dim Bar As CommandBar<br><br>&nbsp;&nbsp;&nbsp; 'create project toolbar<br>&nbsp;&nbsp;&nbsp; Set Bar = CommandBarsProject.Add("ClockInProjects", xtpBarTop)<br><br>&nbsp;&nbsp;&nbsp; With Bar.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_CLOCKINPROJECTS, "Clock In"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_BACK, "View Pay Hours"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_BREAK, "Break"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_CLOSEWINDOW, "Close"<br>&nbsp;&nbsp;&nbsp; End With<br><br>&nbsp;&nbsp;&nbsp; Bar.Closeable = False<br>&nbsp;&nbsp;&nbsp; Bar.EnableDocking xtpFlagHideWrap<br>&nbsp;&nbsp;&nbsp; Bar.ModifyStyle XTP_CBRS_GRIPPER, 0<br><br>&nbsp;&nbsp;&nbsp; With CommandBarsProject.Options<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .LargeIcons = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowExpandButtonAlways = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .UseFadedIcons = False<br>&nbsp;&nbsp;&nbsp; End With<br><br>&nbsp;&nbsp;&nbsp; CommandBarsProject.ActiveMenuBar.Visible = False<br>&nbsp;&nbsp;&nbsp; CommandBarsProject.Icons = frmParent.imCommandBar.Icons<br><br>&nbsp;&nbsp;&nbsp; 'create payroll toolbar<br>&nbsp;&nbsp;&nbsp; Set Bar = CommandBarsClock.Add("ClockInPayroll", xtpBarTop)<br>&nbsp;&nbsp;&nbsp; With Bar.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_CLOCKIN, "Clock In"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_CLOCKOUT, "Clock Out"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_BACK, "View Project Hours"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_CLOSEWINDOW, "Close"<br>&nbsp;&nbsp;&nbsp; End With<br><br>&nbsp;&nbsp;&nbsp; Bar.Closeable = False<br>&nbsp;&nbsp;&nbsp; Bar.EnableDocking xtpFlagHideWrap<br>&nbsp;&nbsp;&nbsp; Bar.ModifyStyle XTP_CBRS_GRIPPER, 0<br><br>&nbsp;&nbsp;&nbsp; With CommandBarsClock.Options<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .LargeIcons = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowExpandButtonAlways = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .UseFadedIcons = False<br>&nbsp;&nbsp;&nbsp; End With<br><br>&nbsp;&nbsp;&nbsp; CommandBarsClock.ActiveMenuBar.Visible = False<br>&nbsp;&nbsp;&nbsp; CommandBarsClock.Icons = frmParent.imCommandBar.Icons<br>]]>
   </description>
   <pubDate>Fri, 30 Jun 2006 15:11:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13955&amp;title=assign-toolbars-to-individual-containers#13955</guid>
  </item> 
  <item>
   <title><![CDATA[Assign Toolbars to individual Containers : So unless I build the bars dynamically...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13934&amp;title=assign-toolbars-to-individual-containers#13934</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2136">mjdgreen</a><br /><strong>Subject:</strong> 4418<br /><strong>Posted:</strong> 29 June 2006 at 6:06pm<br /><br />So unless I build the bars dynamically I will get duplicate IDs between the two (or more) resultant bars.]]>
   </description>
   <pubDate>Thu, 29 Jun 2006 18:06:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13934&amp;title=assign-toolbars-to-individual-containers#13934</guid>
  </item> 
  <item>
   <title><![CDATA[Assign Toolbars to individual Containers : I did this using a Frame in VB6....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13709&amp;title=assign-toolbars-to-individual-containers#13709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4418<br /><strong>Posted:</strong> 19 June 2006 at 11:57am<br /><br />I did this using a Frame in VB6.&nbsp; In the IDE I just placed 2 frames on my form, and put a CommandBar in each frame.&nbsp; Now the ToolBars display wherever I place the frames on the form.]]>
   </description>
   <pubDate>Mon, 19 Jun 2006 11:57:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13709&amp;title=assign-toolbars-to-individual-containers#13709</guid>
  </item> 
  <item>
   <title><![CDATA[Assign Toolbars to individual Containers : The documentation mentions that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13671&amp;title=assign-toolbars-to-individual-containers#13671</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2102">FLEXform</a><br /><strong>Subject:</strong> 4418<br /><strong>Posted:</strong> 15 June 2006 at 5:28pm<br /><br />&nbsp;The documentation mentions that you can assign toolbars to windows, can you assign one toolbar to one window(Container or picturebox).<br><br>For example we have three containers(pictureboxes) and would like to attach one toolbar per container.&nbsp; Is this possible.<br><br>Thanks,<br>]]>
   </description>
   <pubDate>Thu, 15 Jun 2006 17:28:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4418&amp;PID=13671&amp;title=assign-toolbars-to-individual-containers#13671</guid>
  </item> 
 </channel>
</rss>