<?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 : ShowPane undocked</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : ShowPane undocked]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:58:06 +0000</pubDate>
  <lastBuildDate>Thu, 28 Sep 2006 09:15:03 +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=5160</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[ShowPane undocked : Thanks for pointing me in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5160&amp;PID=16155&amp;title=showpane-undocked#16155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2295">TerryT</a><br /><strong>Subject:</strong> 5160<br /><strong>Posted:</strong> 28 September 2006 at 9:15am<br /><br /><P>Thanks for pointing me in the right direction - sometimes can't see the forest for the trees...</P><P>The following solution seems to work well enough<BR>The code to empty the message queue is required to avoid an assert if there are no panes open - seems to happen when the docking frame is being adjusted</P><P><BR>void CMainFrame::togglePane(UINT nPaneID)<BR>{<BR>&nbsp;&nbsp;&nbsp; CXTPDockingPane* pPane = m_paneManager.FindPane(nPaneID);<BR>&nbsp;&nbsp;&nbsp; if(pPane)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(pPane-&gt;IsClosed())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_paneManager.ShowPane(pPane);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_paneManager.ToggleAutoHide(pPane);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EmptyMsgQueue();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pPane-&gt;Select();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_paneManager.ClosePane(pPane);<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR></P>]]>
   </description>
   <pubDate>Thu, 28 Sep 2006 09:15:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5160&amp;PID=16155&amp;title=showpane-undocked#16155</guid>
  </item> 
  <item>
   <title><![CDATA[ShowPane undocked : Hello,try a call to CXTPDockin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5160&amp;PID=16146&amp;title=showpane-undocked#16146</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 5160<br /><strong>Posted:</strong> 28 September 2006 at 7:31am<br /><br />Hello,<br><br>try a call to <font face="Courier New, Courier, mono">CXTPDockingPaneManager::ToggleDocking()</font> immediately after showing the pane (if the pane is not <font face="Courier New, Courier, mono">IsFloating()</font> already).<br>Or did you mean something else with undocking?]]>
   </description>
   <pubDate>Thu, 28 Sep 2006 07:31:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5160&amp;PID=16146&amp;title=showpane-undocked#16146</guid>
  </item> 
  <item>
   <title><![CDATA[ShowPane undocked :  I&amp;#039;ve not been able to find...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5160&amp;PID=16139&amp;title=showpane-undocked#16139</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2295">TerryT</a><br /><strong>Subject:</strong> 5160<br /><strong>Posted:</strong> 27 September 2006 at 11:54pm<br /><br /><FONT color=#0000ff size=1><FONT><DIV><FONT color=#000000>I've not been able to find a solution to the following:</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>In the following method, how do I get the ShowPane() to show the pane in an undocked state (pin horizontal)?</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000>void CMainFrame::togglePane(UINT nPaneID)<BR>{<BR>&nbsp;&nbsp;&nbsp; CXTPDockingPane* pPane = m_paneManager.FindPane(nPaneID);<BR>&nbsp;&nbsp;&nbsp; if(pPane)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(pPane-&gt;IsClosed())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_paneManager.ShowPane(pPane);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_paneManager.ClosePane(pPane);<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR></FONT></FONT></FONT><FONT size=1></DIV></FONT>]]>
   </description>
   <pubDate>Wed, 27 Sep 2006 23:54:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5160&amp;PID=16139&amp;title=showpane-undocked#16139</guid>
  </item> 
 </channel>
</rss>