<?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 : Problems CDialog &lt;-&gt; CXTPDockingpanes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Problems CDialog &lt;-&gt; CXTPDockingpanes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 05:07:43 +0000</pubDate>
  <lastBuildDate>Fri, 10 Sep 2004 02:28:19 +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=1151</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[Problems CDialog &lt;-&gt; CXTPDockingpanes : No. It is something in your code. Where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1151&amp;PID=3055&amp;title=problems-cdialog-cxtpdockingpanes#3055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1151<br /><strong>Posted:</strong> 10 September 2004 at 2:28am<br /><br /><P>No. It is something in your code.</P><P>Where you create and destory dialog?</P><P>&nbsp;</P><P>try to call m_wndDialog.DestroyWindow() in </P><P>CMainFrame::OnDestroy before base class call.</P><span style="font-size:10px"><br /><br />Edited by oleg</span>]]>
   </description>
   <pubDate>Fri, 10 Sep 2004 02:28:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1151&amp;PID=3055&amp;title=problems-cdialog-cxtpdockingpanes#3055</guid>
  </item> 
  <item>
   <title><![CDATA[Problems CDialog &lt;-&gt; CXTPDockingpanes : Ok, once again me. Following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1151&amp;PID=3000&amp;title=problems-cdialog-cxtpdockingpanes#3000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=244">Wolfgang</a><br /><strong>Subject:</strong> 1151<br /><strong>Posted:</strong> 07 September 2004 at 7:59am<br /><br /><P>Ok, once again me.</P><P>Following problem accurs, I add to a SDI Application 3 Dockingpanes (Added on the Bottom, not tabbed) In one DockingPane i insert only&nbsp;a CStatic Control. in the other two windows I insert CDialog based Objects. additional I set:</P><P><FONT size=2>m_paneManager.LockSplitters(</FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>);</FONT></P><P><FONT size=2>m_paneManager.UseSplitterTracker(</FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>);</FONT></P><P><FONT size=2>m_paneManager.SetThemedFloatingFrames(</FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>);</FONT></P><P><FONT size=2>In <FONT size=2>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam) i use:</FONT></FONT></P><FONT size=2><FONT size=2><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (wParam == XTP_DPN_ACTION) {</P><P>XTP_DOCKINGPANE_ACTION* pAction=(XTP_DOCKINGPANE_ACTION*)lParam;</P><P>pAction-&gt;bCancel=TRUE;</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE;</P><P>}</P><P>Which surpress the possibility of the user to tear of the Dockingpane.</P><P>Now if i try to tear off the dockingpane with Dialogs, i get&nbsp;an assertion&nbsp;errormessage if i close the Application afterwards. The error accurs in:</P><FONT size=2><P>BOOL PASCAL CWnd::WalkPreTranslateTree(HWND hWndStop, MSG* pMsg)</P><P>{</P><P>ASSERT(hWndStop == NULL || ::IsWindow(hWndStop));</P><P>where hWndStop!=NULL.</P><P>It seems that the Dockingmanager wants to access the Dialog after Destroy of this Window? It seems like a Bug in the DockingPanes to me..</P><P>But maybe somebody found a way round?</P><P>thanks</P><P>Wolfgang</P></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 07 Sep 2004 07:59:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1151&amp;PID=3000&amp;title=problems-cdialog-cxtpdockingpanes#3000</guid>
  </item> 
 </channel>
</rss>