<?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 Docking</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Disable Docking]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 03:48:49 +0000</pubDate>
  <lastBuildDate>Fri, 21 Apr 2006 17:07:29 +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=4043</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 Docking : Now if I change the code to:  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12360&amp;title=disable-docking#12360</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 4043<br /><strong>Posted:</strong> 21 April 2006 at 5:07pm<br /><br /><P>Now if I change the code to: </P><P><EM>&nbsp;m_wndToolBar.EnableDocking(CBRS_ALIGN_LEFT);<BR>&nbsp;EnableDocking(CBRS_ALIGN_LEFT);<BR>&nbsp;DockControlBar(&amp;m_wndToolBar, AFX_IDW_DOCKBAR_LEFT);</EM></P><P>The toolbar comes up docked on the left and I cannot drag the toolbar if I grip it and do a drag.&nbsp; But if I grip close to the single button I have on the toolbar, then it allows me to drag the toolbar and detach it.&nbsp; In this case I can only reattach it to the left side of the window.&nbsp; Ideally, I would like to not allow any way to detach the toolbar from the left side of the window.</P><P><EM></EM>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 21 Apr 2006 17:07:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12360&amp;title=disable-docking#12360</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Docking : I changed the code in the OnCreate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12359&amp;title=disable-docking#12359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 4043<br /><strong>Posted:</strong> 21 April 2006 at 5:00pm<br /><br /><P>I changed the code in the OnCreate procedure from:</P><P><EM>&nbsp;m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;DockControlBar(&amp;m_wndToolBar, AFX_IDW_DOCKBAR_LEFT);</EM></P><P>to </P><P><EM>&nbsp;m_wndToolBar.EnableDocking(CBRS_ALIGN_TOP);<BR>&nbsp;EnableDocking(CBRS_ALIGN_TOP);<BR>&nbsp;DockControlBar(&amp;m_wndToolBar, AFX_IDW_DOCKBAR_LEFT);</EM></P><P>Unfortunately, I get the same results.</P>]]>
   </description>
   <pubDate>Fri, 21 Apr 2006 17:00:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12359&amp;title=disable-docking#12359</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Docking : Change first line also. m_wnd...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12358&amp;title=disable-docking#12358</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4043<br /><strong>Posted:</strong> 21 April 2006 at 4:37pm<br /><br /><P>Change first line also.</P><P><EM>m_wndToolBar.EnableDocking(<strong>CBRS_ALIGN_ANY</strong>);</EM><BR></P>]]>
   </description>
   <pubDate>Fri, 21 Apr 2006 16:37:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12358&amp;title=disable-docking#12358</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Docking : I changed the code in the OnCreate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12356&amp;title=disable-docking#12356</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 4043<br /><strong>Posted:</strong> 21 April 2006 at 3:16pm<br /><br /><P>I changed the code in the OnCreate procedure from:</P><P><EM>&nbsp;m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;DockControlBar(&amp;m_wndToolBar, AFX_IDW_DOCKBAR_LEFT);</EM></P><P>to </P><P><EM>&nbsp;m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;EnableDocking(CBRS_ALIGN_TOP);<BR>&nbsp;DockControlBar(&amp;m_wndToolBar, AFX_IDW_DOCKBAR_LEFT);</EM></P><P>Unfortunately, all it did was move the toolbar to the top of the window and it was still detachable.&nbsp; </P>]]>
   </description>
   <pubDate>Fri, 21 Apr 2006 15:16:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12356&amp;title=disable-docking#12356</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Docking : Instead EnableDocking(CBRS_ALIGN_ANY);...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12352&amp;title=disable-docking#12352</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4043<br /><strong>Posted:</strong> 21 April 2006 at 2:41pm<br /><br /><P>Instead <EM>EnableDocking(<strong>CBRS_ALIGN_ANY</strong>); try <strong>CBRS_ALIGN_TOP</strong></EM></P>]]>
   </description>
   <pubDate>Fri, 21 Apr 2006 14:41:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12352&amp;title=disable-docking#12352</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Docking : Ina CXTMDIChildWndbased class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12351&amp;title=disable-docking#12351</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 4043<br /><strong>Posted:</strong> 21 April 2006 at 1:24pm<br /><br /><P>In&nbsp;a CXTMDIChildWnd&nbsp;based class I have a CXTToolBar placed on the left side of a window using the following code in the OnCreate method:</P><P><EM>&nbsp;m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;EnableDocking(CBRS_ALIGN_ANY);<BR>&nbsp;DockControlBar(&amp;m_wndToolBar, AFX_IDW_DOCKBAR_LEFT);</EM></P><P>Once the window appears with the toolbar docked on the left side of the window, I would like the toolbar to be stuck there so the user cannot drag it or undock it.&nbsp; How do I do this?</P>]]>
   </description>
   <pubDate>Fri, 21 Apr 2006 13:24:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4043&amp;PID=12351&amp;title=disable-docking#12351</guid>
  </item> 
 </channel>
</rss>