<?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 : Disable moving toolbar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Disable moving toolbar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 22:51:34 +0000</pubDate>
  <lastBuildDate>Wed, 26 Oct 2005 11:43:38 +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=3099</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[Disable moving toolbar :   	Question: 	 	How do I Remove...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3099&amp;PID=9251&amp;title=disable-moving-toolbar#9251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3099<br /><strong>Posted:</strong> 26 October 2005 at 11:43am<br /><br /><p>	<b>Question:</b>	<br>	How do I Remove the ToolBar Gripper?</p><p>	<b>Answer:</b>	<br> By default, a toolbar will display agripper that is used to indicate that the tollbar can be "gripped" andmoved by the user. The gripper is cosmetic only, removing the gripperwill not disable movement of the toolbar. To modify where the toolbarcan be docked, if at all, you need to use the <i><b>EnableDocking</b></i> method discussed in KB article <b>in previous post</b>.	<br><br>	The <i><b>ModifyStyle</b></i> method is used to remove or replace the gripper of a toolbar.  The styles that can be removed or added are stored	in the <i><b>XTPCommandBarStyle</b></i> enumeration.	<br><br>	<img src="http://localhost/support/kb_activex/commandbars/images/cb4_1.gif" align="middle" border="0">	<br><br>	The code below removes the gripper from the menu bar and the first toolbar.<br><br>	</p><pre>'Remove gripper from the menu bar<br>CommandBars.ActiveMenuBar.ModifyStyle XTP_CBRS_GRIPPER, 0<br><br>'Remove gripper from the first toolbar.  Note that Commandbars(1)<br>'is the menu bar<br>CommandBars(2).ModifyStyle XTP_CBRS_GRIPPER, 0<br></pre><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 11:43:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3099&amp;PID=9251&amp;title=disable-moving-toolbar#9251</guid>
  </item> 
  <item>
   <title><![CDATA[Disable moving toolbar :  	Question: 	 	How do I Disable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3099&amp;PID=9250&amp;title=disable-moving-toolbar#9250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3099<br /><strong>Posted:</strong> 26 October 2005 at 11:42am<br /><br /><p>	<b>Question:</b>	<br>	How do I Disable Toolbar Docking and Floating so that the Toolbar can not be Moved?</p><p>	<b>Answer:</b>	<br>	The <i><b>CommandBars.EnableDocking</b></i> method is used to specify where a toolbar can be docked, and how it is displayed.  The <i><b>XTPToolBarFlags</b></i>	enumeration contains the different toolbar options that can be applied with the <i><b>EnableDocking</b></i> method.  You can combine vaules to taylor to your needs,	for example, you can specify that the toolbar can be docked only to the top or bottom of the application.	<br><br>	The picture below illustrates toolbars docked to several different locations in the application.<br>	<img src="http://localhost/support/kb_activex/commandbars/images/cb6_1.gif" align="middle" border="0">	<br><br>The code below illustrates how to limit a toolbar so that is can onlybe docked to the top and bottom of the application, or it can be afloating toolbar.<br></p><pre ="code">Dim ToolBar As CommandBar<br>    <br>Set ToolBar = CommandBars.Add("Standard", xtpBarTop)<br>ToolBar.EnableDocking xtpFlagAlignBottom Or xtpFlagAlignTop _<br>                      Or xtpFlagFloating<br></pre>	<br><br>	The completely disable docking, simply pass in a <b>0</b> or a flag such as <i><b>xtpFlagStretched</b></i> into the <i><b>EnableDocking</b></i> method 	for a toolbar. <br><pre ="code">Dim ToolBar As CommandBar<br>    <br>Set ToolBar = CommandBars.Add("Standard", xtpBarTop)<br>ToolBar.EnableDocking 0<br></pre>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 11:42:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3099&amp;PID=9250&amp;title=disable-moving-toolbar#9250</guid>
  </item> 
  <item>
   <title><![CDATA[Disable moving toolbar : I need to disable dragging toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3099&amp;PID=9247&amp;title=disable-moving-toolbar#9247</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1383">Yonger</a><br /><strong>Subject:</strong> 3099<br /><strong>Posted:</strong> 26 October 2005 at 8:11am<br /><br />I need to disable dragging toolbar to a new location.&nbsp; After looking through all the settings I do not see this as an option.&nbsp; I looked through all the documentation and through the forum but don't see anything...]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 08:11:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3099&amp;PID=9247&amp;title=disable-moving-toolbar#9247</guid>
  </item> 
 </channel>
</rss>