<?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 : Problem with autohide docking pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Problem with autohide docking pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:28:06 +0000</pubDate>
  <lastBuildDate>Sat, 24 May 2008 13:33:45 +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=10750</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[Problem with autohide docking pane : Hi,  Sorry, I have to debug...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35755&amp;title=problem-with-autohide-docking-pane#35755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 24 May 2008 at 1:33pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Sorry, I have to debug your project. I sure its some code inside.&nbsp; Try to create smaller version of project and send to <a href="mailto:support@codejock.com" target="_blank">support@codejock.com</A>.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 24 May 2008 13:33:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35755&amp;title=problem-with-autohide-docking-pane#35755</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Hi, Here is some information...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35736&amp;title=problem-with-autohide-docking-pane#35736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 5:12pm<br /><br /><P>Hi,</P><P>Here is some information that I hope might be useful. I added some code to save the Docking Pane layout as a file using CXTPDockingPaneLayout::SaveToFile.</P><P>The following file was generated when the dock pane was working properly:</P><P><table width="99%"><tr><td><pre class="BBcode"><BR>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;DockingPaneLayouts CompactMode="1"&gt;<BR>&nbsp;&lt;Common&gt;<BR>&nbsp;&nbsp;&lt;Summary Panes="9" TopContainer="3" Client="7"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-1 Type="0" DockingCX="200" DockingCY="120" Title="Tree View" ID="50161" DockingHolder="6" LastHolder="6"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-2 Type="0" DockingCX="160" DockingCY="180" Title="Mini Monitors" ID="50160" Options="8" DockingHolder="4" LastHolder="4" MinTrackX="100" MinTrackY="180" MaxTrackX="5000" MaxTrackY="180"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-3 Type="2" Panes="2" Pane-1="4" Pane-2="5"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-4 Type="1" DockingCX="160" DockingCY="180" Panes="1" Selected="2" Pane-1="2"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-5 Type="2" DockingCY="870" Horiz="1" Panes="2" Pane-1="6" Pane-2="7"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-6 Type="1" DockingCX="200" DockingCY="120" Panes="0"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-7 Type="4" DockingCX="1716"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-8 Type="5" Direction="0" Panes="1" Pane-1="9"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-9 Type="1" DockingCX="200" DockingCY="120" Panes="1" Selected="1" Pane-1="1"/&gt;<BR>&nbsp;&lt;/Common&gt;<BR>&lt;/DockingPaneLayouts&gt;<BR></pre></td></tr></table></P><P>The file below was generated after opening and the closing a document. </P><P><table width="99%"><tr><td><pre class="BBcode"><BR>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;DockingPaneLayouts CompactMode="1"&gt;<BR>&nbsp;&lt;Common&gt;<BR>&nbsp;&nbsp;&lt;Summary Panes="8" TopContainer="3" Client="6"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-1 Type="0" DockingCX="200" DockingCY="120" Title="Tree View" ID="50161" DockingHolder="8" LastHolder="8"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-2 Type="0" DockingCX="160" DockingCY="180" Title="Mini Monitors" ID="50160" Options="8" DockingHolder="4" LastHolder="4" MinTrackX="100" MinTrackY="180" MaxTrackX="5000" MaxTrackY="180"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-3 Type="2" Panes="2" Pane-1="4" Pane-2="5"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-4 Type="1" DockingCX="160" DockingCY="180" Panes="1" Selected="2" Pane-1="2"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-5 Type="2" DockingCY="870" Horiz="1" Panes="1" Pane-1="6"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-6 Type="4" DockingCX="1716"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-7 Type="5" Direction="0" Panes="1" Pane-1="8"/&gt;<BR>&nbsp;&nbsp;&lt;Pane-8 Type="1" DockingCX="200" DockingCY="120" Panes="1" Selected="1" Pane-1="1"/&gt;<BR>&nbsp;&lt;/Common&gt;<BR>&lt;/DockingPaneLayouts&gt;<BR></pre></td></tr></table></P><P>As you can see, the lower one has one less pane than the upper one. Both of them result in the same visual appearance when loaded, but when I load the upper one, the pushpin still works. When I load the lower one it doesn't.</P><P>Thanks,</P><P>Don<BR></P>]]>
   </description>
   <pubDate>Fri, 23 May 2008 17:12:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35736&amp;title=problem-with-autohide-docking-pane#35736</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Oleg,  This problem is much...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35733&amp;title=problem-with-autohide-docking-pane#35733</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 3:55pm<br /><br />Oleg,<DIV>&nbsp;</DIV><DIV>This problem is much more complex that I thought.</DIV><DIV>&nbsp;</DIV><DIV>The docking panes work fine until I open a document in my application. Then the push pin problem that I described starts happening. </DIV><DIV>&nbsp;</DIV><DIV>I guess that something in my Document / View is causing this, but I don't know what it is yet.</DIV><DIV>&nbsp;</DIV><DIV>I am using the CXTPDockingPaneLayout code to save the position of the panes in the registry. </DIV><DIV>&nbsp;</DIV><DIV>One repeatable symptom happens if&nbsp;I open the app and then open a document (which breaks the pushpin) and then exit the app which causes the docking state to be written to the registry.</DIV><DIV>&nbsp;</DIV><DIV>After doing that, the pushpin will always be broken, even if I close the app and reopen it and don't open a document. So whatever is being written to the registry "persists" the broken pushpin.</DIV><DIV>&nbsp;</DIV><DIV>Would it be useful for me to send a pair of .reg files, one good and one bad?</DIV><DIV>&nbsp;</DIV><DIV>Other than that, I think maybe you shouldn't worry about this until I figure out better what my document might be doing.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>Don</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 15:55:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35733&amp;title=problem-with-autohide-docking-pane#35733</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Hello,  I need some sample to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35732&amp;title=problem-with-autohide-docking-pane#35732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 3:45pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I need some sample to see what you do :-(</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 15:45:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35732&amp;title=problem-with-autohide-docking-pane#35732</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Hi,  I found another piece of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35723&amp;title=problem-with-autohide-docking-pane#35723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 12:09pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I found another piece of information. </DIV><DIV>&nbsp;</DIV><DIV>Calling the PaneManger.ToggleAutoHide for this pane doesn't work either. It works the first time to hide it, but won't work subsequent times to unhide it.</DIV><DIV>&nbsp;</DIV><DIV>Don</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 12:09:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35723&amp;title=problem-with-autohide-docking-pane#35723</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Hi,  I moved the creation of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35721&amp;title=problem-with-autohide-docking-pane#35721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 10:35am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I moved the creation of the Dialogs and the Attach calls to the OnDockingPaneNotify function as the samples do.</DIV><DIV>&nbsp;</DIV><DIV>This resulted in no changes, the pushpin still doesn't work.</DIV><DIV>&nbsp;</DIV><DIV>Don</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 10:35:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35721&amp;title=problem-with-autohide-docking-pane#35721</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Hi,  Actaully you have call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35715&amp;title=problem-with-autohide-docking-pane#35715</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 9:58am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Actaully you have call Attach only in Handler. See how our sample work.</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 09:58:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35715&amp;title=problem-with-autohide-docking-pane#35715</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : For what it is worth, I thought...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35709&amp;title=problem-with-autohide-docking-pane#35709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 8:47am<br /><br />For what it is worth, I thought I might attach a stack trace that shows where the code goes when I click on the PushPin to try to un-autohide the window.<DIV>&nbsp;</DIV><DIV>When I click on the PushPin, the Docked Window immediately disappears and then slides back out again from the side.</DIV><DIV>&nbsp;</DIV><DIV>Don</DIV><DIV>&nbsp;</DIV>CXTPDockingPaneTabbedContainer::RemovePane(CXTPDockingPaneBase * pPane=0x081c47c8)&nbsp; Line 395&nbsp;C++<BR>CXTPDockingPaneManager::_RemovePane(CXTPDockingPaneBase * pPane=0x081c47c8)&nbsp; Line 469 + 0x19 bytes&nbsp;C++<BR>CXTPDockingPaneManager::_AttachPane(CXTPDockingPaneBase * pPane=0x081c47c8, CXTPDockingPaneBase * pNeighbour=0x0bb8c4a4)&nbsp; Line 496&nbsp;C++<BR>CXTPDockingPaneManager::AttachPane(CXTPDockingPaneBase * pPane=0x081c47c8, CXTPDockingPaneBase * pNeighbour=0x0bb8c4a4)&nbsp; Line 475&nbsp;C++<BR>CXTPDockingPaneManager::_ToggleDocking(CXTPDockingPane * pPane=0x081c47a8, CXTPDockingPaneBase * pHolder=0x0bb8c4a4)&nbsp; Line 760&nbsp;C++<BR>CXTPDockingPaneManager::ToggleDocking(CXTPDockingPaneBase * pPane=0x0bb8c4a4)&nbsp; Line 709 + 0x5d bytes&nbsp;C++<BR>CXTPDockingPaneTabbedContainer::OnCaptionButtonClick(CXTPDockingPaneCaptionButton * pButton=0x0bb8c820)&nbsp; Line 725&nbsp;C++<BR>CXTPDockingPaneTabbedContainer::OnLButtonDown(unsigned int __formal=1, CPoint point={...})&nbsp; Line 798 + 0x16 bytes&nbsp;C++<BR>CWnd::OnWndMsg(unsigned int message=513, unsigned int wParam=1, long lParam=852144, long * pResult=0x0012f8b4)&nbsp; Line 2169&nbsp;C++<BR>CXTPDockingPaneTabbedContainer::OnWndMsg(unsigned int message=513, unsigned int wParam=1, long lParam=852144, long * pResult=0x0012f8b4)&nbsp; Line 1356&nbsp;C++<BR>CWnd::WindowProc(unsigned int message=513, unsigned int wParam=1, long lParam=852144)&nbsp; Line 1741 + 0x20 bytes&nbsp;C++<BR>AfxCallWndProc(CWnd * pWnd=0x0bb8c450, HWND__ * hWnd=0x003d0f76, unsigned int nMsg=513, unsigned int wParam=1, long lParam=852144)&nbsp; Line 240 + 0x1c bytes&nbsp;C++<BR>AfxWndProc(HWND__ * hWnd=0x003d0f76, unsigned int nMsg=513, unsigned int wParam=1, long lParam=852144)&nbsp; Line 389&nbsp;C++<BR><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 08:47:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35709&amp;title=problem-with-autohide-docking-pane#35709</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Oleg,  Thanks for the reply....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35707&amp;title=problem-with-autohide-docking-pane#35707</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 8:29am<br /><br />Oleg,<DIV>&nbsp;</DIV><DIV>Thanks for the reply. I don't think I am doing either of those things. But I did find some more information. Perhaps I need to look somewhere else in my code.</DIV><DIV>&nbsp;</DIV><DIV>I found that if I comment out the line </DIV><DIV>&nbsp;</DIV><DIV>TreePane-&gt;Attach (&amp;Tree);</DIV><DIV>&nbsp;</DIV><DIV>So that the docking pane is not attached to a child dialog, it all works fine.</DIV><DIV>&nbsp;</DIV><DIV>I then tried replacing the Tree child with a simple, unmodified CDialog, and the problem came back. So I know the problem can't be in the Tree code anywhere since it is no longer in use. I think this means it must be a CMainFrame problem, but that seems strange since it works when the Pane has no child.</DIV><DIV>&nbsp;</DIV><DIV>I am still trying to track this down, I would appreciate any ideas.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Don</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 08:29:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35707&amp;title=problem-with-autohide-docking-pane#35707</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with autohide docking pane : Hi, I guess you have NotifyHandler...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35673&amp;title=problem-with-autohide-docking-pane#35673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10750<br /><strong>Posted:</strong> 23 May 2008 at 1:37am<br /><br />Hi,<DIV>I guess you have NotifyHandler and reurn 1 always. or maybe disable some actions.</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 01:37:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10750&amp;PID=35673&amp;title=problem-with-autohide-docking-pane#35673</guid>
  </item> 
 </channel>
</rss>