<?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 : Block the drag/float of CommandBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Block the drag/float of CommandBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 01:43:58 +0000</pubDate>
  <lastBuildDate>Tue, 05 Oct 2010 13:24:32 +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=17326</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[Block the drag/float of CommandBar : .EnableDocking xtpFlagStretched  is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60704&amp;title=block-the-drag-float-of-commandbar#60704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17326<br /><strong>Posted:</strong> 05 October 2010 at 1:24pm<br /><br /><FONT face="Courier New, Courier, mono">.EnableDocking xtpFlagStretched</FONT><DIV></DIV><DIV></DIV>is perfect for me. <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /><DIV>&nbsp;</DIV><DIV>Thank <img src="http://forum.codejock.com/smileys/smiley17.gif" height="17" width="17" border="0" alt="T&#111;ngue" title="T&#111;ngue" /></DIV>]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 13:24:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60704&amp;title=block-the-drag-float-of-commandbar#60704</guid>
  </item> 
  <item>
   <title><![CDATA[Block the drag/float of CommandBar :   jpbro wrote:The only problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60482&amp;title=block-the-drag-float-of-commandbar#60482</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17326<br /><strong>Posted:</strong> 27 September 2010 at 1:30am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />The only problem is that even though the toolbar is no longer draggable, the mouse icon still changes to the four-way arrow icon. Unless there is a way to prevent this?<BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>If you only set one of the options I mentioned, the drag icon doesn't appear. As long as you don't set a "draggable flag" (xtpAligntop etc etc) the icon doesn't show.&nbsp;Well, easy way seems to be&nbsp;&nbsp;.EnableDocking 0 <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><strong>This one is for support</strong>: If you&nbsp;want the toolbars on same "row"&nbsp;you have to set .EnableDocking xtpFlagStretchedShared, right?&nbsp;Why isn't&nbsp;the second toolbar docked on same row? I had to dock it myself, is this by design?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 27 Sep 2010 01:30:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60482&amp;title=block-the-drag-float-of-commandbar#60482</guid>
  </item> 
  <item>
   <title><![CDATA[Block the drag/float of CommandBar : Duh- found the answer in my own...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60480&amp;title=block-the-drag-float-of-commandbar#60480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17326<br /><strong>Posted:</strong> 26 September 2010 at 6:23pm<br /><br />Duh- found the answer in my own code ;)<br><br>Use .EnableDocking 0 to get rid of the icon.<br><br><br>]]>
   </description>
   <pubDate>Sun, 26 Sep 2010 18:23:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60480&amp;title=block-the-drag-float-of-commandbar#60480</guid>
  </item> 
  <item>
   <title><![CDATA[Block the drag/float of CommandBar :  The only problem is that even...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60479&amp;title=block-the-drag-float-of-commandbar#60479</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17326<br /><strong>Posted:</strong> 26 September 2010 at 6:20pm<br /><br />The only problem is that even though the toolbar is no longer draggable, the mouse icon still changes to the four-way arrow icon. Unless there is a way to prevent this?<br>]]>
   </description>
   <pubDate>Sun, 26 Sep 2010 18:20:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60479&amp;title=block-the-drag-float-of-commandbar#60479</guid>
  </item> 
  <item>
   <title><![CDATA[Block the drag/float of CommandBar : Hi, Set .EnableDocking to some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60475&amp;title=block-the-drag-float-of-commandbar#60475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17326<br /><strong>Posted:</strong> 26 September 2010 at 3:11am<br /><br /><P>Hi,</P><DIV>Set&nbsp; <strong>.EnableDocking</strong> to some flag...</DIV><DIV>&nbsp;</DIV><DIV>With cToolbar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>.EnableDocking xtpFlagStretchedShared / xtpFlagHideWrap / xtpFlagStretched</strong><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 26 Sep 2010 03:11:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60475&amp;title=block-the-drag-float-of-commandbar#60475</guid>
  </item> 
  <item>
   <title><![CDATA[Block the drag/float of CommandBar :  I have a CommandBars control,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60471&amp;title=block-the-drag-float-of-commandbar#60471</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17326<br /><strong>Posted:</strong> 25 September 2010 at 4:52pm<br /><br /><DIV></DIV><DIV>I have a CommandBars control, named CB.</DIV><DIV>Then I create a toolbar as code below</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Dim cToolbar As CommandBar<BR>&nbsp;&nbsp;&nbsp; With CB<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DeleteAll<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .VisualTheme = xtpThemeRibbon<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableCustomization False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Options.ShowExpandButtonAlways = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Icons.LoadBitmap gsIcons16x16, gaArray16x16, XtremeCommandBars.XTPImageState.xtpImageNormal<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set cToolbar = .Add("Toolbar", xtpBarTop)<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; With cToolbar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SetIconSize 16, 16<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowGripper = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Customizable = False<BR>&nbsp;&nbsp;&nbsp; End With</FONT><BR></DIV><DIV>I don't want that the user <U>drag</U> and/or <U>float out</U> the toolbar, cToolbar should be blocked.</DIV><DIV>But I don't find a property for this.</DIV><DIV>&nbsp;</DIV><DIV>How do?</DIV><DIV>&nbsp;</DIV><DIV>Thank.</DIV>]]>
   </description>
   <pubDate>Sat, 25 Sep 2010 16:52:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17326&amp;PID=60471&amp;title=block-the-drag-float-of-commandbar#60471</guid>
  </item> 
 </channel>
</rss>