<?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 : Attached pane window being deleted under me</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Attached pane window being deleted under me]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 05:37:10 +0000</pubDate>
  <lastBuildDate>Tue, 09 Mar 2010 04:05:59 +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=16394</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[Attached pane window being deleted under me : I think the point is that simply...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57493&amp;title=attached-pane-window-being-deleted-under-me#57493</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 09 March 2010 at 4:05am<br /><br />I think the point is that simply changing the docking of a pane shouldn't call DestroyWindow on it.  <br /><br />Personally I consider this a bug.]]>
   </description>
   <pubDate>Tue, 09 Mar 2010 04:05:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57493&amp;title=attached-pane-window-being-deleted-under-me#57493</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me :   Hi;You attach the created...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57492&amp;title=attached-pane-window-being-deleted-under-me#57492</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 09 March 2010 at 3:38am<br /><br />Hi;<br>You attach the created window to the docking pane. So it takes control. I just tried your steps and in my case I catch a ShowWindow message in OnDockingPaneNotify. All I have to do is check the window handle of my control and then recreate it if necessary. It works very well.<br>If you require information about the window destroyed, just call an appropriate function in your OnDestroy message handler, but perhaps you could change your dashboard window to a singleton... <br><br>]]>
   </description>
   <pubDate>Tue, 09 Mar 2010 03:38:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57492&amp;title=attached-pane-window-being-deleted-under-me#57492</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me : mgampi, you&amp;#039;re sort of right....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57485&amp;title=attached-pane-window-being-deleted-under-me#57485</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5402">Aaron Koolen</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 08 March 2010 at 7:19pm<br /><br />mgampi, you're sort of right. In order to match up our internal objects with the correct pane we need to save a mapping between pane id and our objects (Dashboard). When we get a XTP_DPN_SHOWWINDOW message, we look to see if we have a mapping for that pane id already. If we do, we just attach the dashboard window to it. If we don't, then we create a new dashboard (Which does create a window, yes) and then attach that.<br /><br />I understand what you're saying in that the panel should be checked that it's valid, but unfortunately that's not exactly the problem.<br /><br />When this code is called (During the first time a pane is shown) the panel windows are created fine, and they show up. It's later on, when they are undocked and docked again in some strange manner, that for some reason the CodeJock framework is calling DestroyWindow on it, which inevitably destroys my dashboard window, even though my application doesn't know that it has. From that point on the window handle is invalid.<br /><br />I'm trying to work out if this is normal. Can CodeJock destroy windows that you've created and put into panes, whenever it feels like? If so, then I will need to trap that and have some sort of observer pattern so things can be told when it's destroyed. If not, then is it a bug?<br /><br />Thanks for your help<br /><br />]]>
   </description>
   <pubDate>Mon, 08 Mar 2010 19:19:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57485&amp;title=attached-pane-window-being-deleted-under-me#57485</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me : Hi;  am I right when I assume...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57484&amp;title=attached-pane-window-being-deleted-under-me#57484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 08 March 2010 at 6:33pm<br /><br />Hi;<br><br>am I right when I assume that below code creates the underlying window too? If this is true then you have to check in the Attach section whether the window handle is still valid or not!<br><pre ="BBcode">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DashboardPanel *panel = new DashboardPanel(SOME ID);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pPane-&gt;Attach(panel);<br></pre>I do it this way:<br><br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case IDR_TIMESCALE:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (_timeline.GetSafeHwnd() == 0)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VERIFY(_timeline.Create(WS_CHILD|WS_VISIBLE|XRTLS_HASONLINEBUTTON|XRTLS_HASPRESELECTCOMBO|XRTLS_HASTWOTIMELINES, this, 0)==TRUE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;Attach(&amp;_timeline);</pre></td></tr></table><br><br><br><br>]]>
   </description>
   <pubDate>Mon, 08 Mar 2010 18:33:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57484&amp;title=attached-pane-window-being-deleted-under-me#57484</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me : on this note, it would be really...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57483&amp;title=attached-pane-window-being-deleted-under-me#57483</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 08 March 2010 at 6:10pm<br /><br />on this note, it would be really useful to be able to store an ID with a pane, so we can match things up on loading layouts.<br /><br />p.p.s this is on 13.3.0]]>
   </description>
   <pubDate>Mon, 08 Mar 2010 18:10:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57483&amp;title=attached-pane-window-being-deleted-under-me#57483</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me : Hi there. I can&amp;#039;t give you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57481&amp;title=attached-pane-window-being-deleted-under-me#57481</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5402">Aaron Koolen</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 08 March 2010 at 5:24pm<br /><br />Hi there. I can't give you the whole handler but here's a trimmed down version with some stuff obviously replaced but with all the code handling code there. Let me know if you need more.<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (wParam == XTP_DPN_ACTION)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;switch( pAction-&gt;action ) <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case xtpPaneActionActivated:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DO PANEL ACTIVATION INTERNAL STUFF <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return TRUE;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (wParam == XTP_DPN_SHOWWINDOW)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPDockingPane* pPane = (CXTPDockingPane*)lParam;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int paneID = pPane-&gt;GetID();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!pPane-&gt;IsValid() ) <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int paneID = pPane-&gt;GetID();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DashboardPanelCollection::iterator pos =  m_dashboardPanels.find(paneID);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( pos == m_dashboardPanels.end() )<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  DashboardPanel *panel = new DashboardPanel(SOME ID);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  pPane-&gt;Attach(panel);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pPane-&gt;Attach(pos-&gt;second);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  else {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DashboardPanel* panel = (DashboardPanel*)pPane-&gt;GetChild();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INTERNAL ACTIVATION CODE FOR panel<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return TRUE; // handled<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /></pre></td></tr></table><br /><br />Thanks<br />Aaron]]>
   </description>
   <pubDate>Mon, 08 Mar 2010 17:24:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57481&amp;title=attached-pane-window-being-deleted-under-me#57481</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me : Hi;Could you show me your OnDockingPaneNotify...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57479&amp;title=attached-pane-window-being-deleted-under-me#57479</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 08 March 2010 at 4:57pm<br /><br />Hi;<br>Could you show me your OnDockingPaneNotify message handler?<br>]]>
   </description>
   <pubDate>Mon, 08 Mar 2010 16:57:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57479&amp;title=attached-pane-window-being-deleted-under-me#57479</guid>
  </item> 
  <item>
   <title><![CDATA[Attached pane window being deleted under me : Hi all. Due to the lack of documentation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57478&amp;title=attached-pane-window-being-deleted-under-me#57478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5402">Aaron Koolen</a><br /><strong>Subject:</strong> 16394<br /><strong>Posted:</strong> 08 March 2010 at 4:32pm<br /><br />Hi all. Due to the lack of documentation I can't really find out if this is normal behaviour but I've had an issue appear where the CXTPDockingPaneMiniWnd is deleting the window I have attached to a pane from underneath me.<br /><br />Here is my setup.<br /><br />- I run my application and create 3 tabbed panes docked together. <br /><br />- Undock them as a group by double clicking title bar.<br /><br />- Pull one off from the other two so I now have two pane windows, one with two tabbed panes in it, and one with one in it.<br /><br />- Double click the single pane title bar, it redocks.<br /><br />- Double click the dual pane title bar, it redocks.<br /><br />- Then I double click AGAIN, the title bar of the docked group and they undock back to a set of two and a single pane.<br /><br />- Double click the single pane title bar to dock it back and BAM!<br /><br />The application dies in my code because it tries to use  was window it created that was deleted from underneath it by the last docking operation.<br /><br />Stack trace inside CodeJock:<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />CXTPDockingPaneMiniWnd::OnChildContainerChanged(CXTPDockingPaneBase * 0x0677b858) line 260 + 23 bytes<br />CXTPDockingPaneSplitterContainer::OnChildContainerChanged(CXTPDockingPaneBase * 0x0677b858) line 478 + 23 bytes<br />CXTPDockingPaneTabbedContainer::RemovePane(CXTPDockingPaneBase * 0x0677ac00) line 399 + 48 bytes<br />CXTPDockingPaneManager::_RemovePane(CXTPDockingPaneBase * 0x0677ac00) line 479 + 23 bytes<br />CXTPDockingPaneManager::_AttachPane(CXTPDockingPaneBase * 0x0677ac00, CXTPDockingPaneBase * 0x0676fd48) line 506<br />CXTPDockingPaneManager::AttachPane(CXTPDockingPaneBase * 0x0677ac00, CXTPDockingPaneBase * 0x0676fd48) line 485<br />CXTPDockingPaneManager::_ToggleDocking(CXTPDockingPane * 0x0677abe0 {CXTPDockingPane}, CXTPDockingPaneBase * 0x0676fd48) line 770<br />CXTPDockingPaneManager::ToggleDocking(CXTPDockingPaneBase * 0x067790f8) line 719 + 60 bytes<br />CXTPDockingPaneMiniWnd::OnNcLButtonDblClk(unsigned int 2, CPoint {x=957 y=142}) line 585<br /><br />The offending method is:<br /><br />void CXTPDockingPaneMiniWnd::OnChildContainerChanged(CXTPDockingPaneBase* /*pContainer*/)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!m_hWnd)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (m_pTopContainer == NULL || m_pTopContainer-&gt;IsEmpty())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DestroyWindow();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_bDelayInvalidate = TRUE;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PostMessage(WM_IDLEUPDATECMDUI);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /></pre></td></tr></table><br /><br />DestroyWindow() is called which ends up destroying the window inside that pane.<br /><br />Is this normal behaviour? If it is, it means I need to track when my windows are deleted and any code the references those or tracks those needs to be notified.<br /><br />Can someone explain this to me please.<br /><br />Thanks<br />Aaron<br /><br />NOTE: This has happened with 13.2 and 13.3.<br />]]>
   </description>
   <pubDate>Mon, 08 Mar 2010 16:32:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16394&amp;PID=57478&amp;title=attached-pane-window-being-deleted-under-me#57478</guid>
  </item> 
 </channel>
</rss>