<?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 : How do I destroy a CXTDock child window?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How do I destroy a CXTDock child window?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 09:06:28 +0000</pubDate>
  <lastBuildDate>Thu, 07 Oct 2004 13:10:12 +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=1203</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[How do I destroy a CXTDock child window? : After a few hours of research,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3386&amp;title=how-do-i-destroy-a-cxtdock-child-window#3386</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=536">Lucien</a><br /><strong>Subject:</strong> 1203<br /><strong>Posted:</strong> 07 October 2004 at 1:10pm<br /><br /><P>After a few hours of research, it seems to me that the <strong>pHelpFramWnd</strong> child window is still hooked to the parent even after a destroyWindow() of that child. When the focus is activated, the parent window searches for the html page that was destroyed and the bug "A required resource was unavailable" appears.</P><P>What am I missing?<IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></P>]]>
   </description>
   <pubDate>Thu, 07 Oct 2004 13:10:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3386&amp;title=how-do-i-destroy-a-cxtdock-child-window#3386</guid>
  </item> 
  <item>
   <title><![CDATA[How do I destroy a CXTDock child window? : I said hourray! to fast. Now a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3361&amp;title=how-do-i-destroy-a-cxtdock-child-window#3361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=536">Lucien</a><br /><strong>Subject:</strong> 1203<br /><strong>Posted:</strong> 06 October 2004 at 10:32am<br /><br /><P>I said hourray! to fast. Now a window warning pop's up saying that&nbsp;"A required resource was unavailable" when the focus is set on that window. <IMG src="http://forum.codejock.com/smileys/smiley18.gif" border="0"></P><P>Does someone know what extra line of code I should use to resolve this issue?</P>]]>
   </description>
   <pubDate>Wed, 06 Oct 2004 10:32:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3361&amp;title=how-do-i-destroy-a-cxtdock-child-window#3361</guid>
  </item> 
  <item>
   <title><![CDATA[How do I destroy a CXTDock child window? : Got it! pHelpFrameWnd.DestroyWindow();...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3342&amp;title=how-do-i-destroy-a-cxtdock-child-window#3342</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=536">Lucien</a><br /><strong>Subject:</strong> 1203<br /><strong>Posted:</strong> 05 October 2004 at 2:51pm<br /><br /><P>Got it!</P><P><strong>pHelpFrameWnd.DestroyWindow(); <IMG src="http://forum.codejock.com/smileys/smiley9.gif" border="0"></strong></P>]]>
   </description>
   <pubDate>Tue, 05 Oct 2004 14:51:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3342&amp;title=how-do-i-destroy-a-cxtdock-child-window#3342</guid>
  </item> 
  <item>
   <title><![CDATA[How do I destroy a CXTDock child window? :  I have created a view window...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3237&amp;title=how-do-i-destroy-a-cxtdock-child-window#3237</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=536">Lucien</a><br /><strong>Subject:</strong> 1203<br /><strong>Posted:</strong> 24 September 2004 at 11:06am<br /><br /><FONT size=2><P>I have created a view window that displays an hmlt page. I took the example from GUI_VisualStudio7. Now after showing the html page for a while I want to display an another kind a view (regular dialog view) in the same window.</P><P><U>I haft to find a way to destroy, detach or disable the SetChild(htmlView) function without destroy the parent window otherwise it will not work correctly.<IMG src="http://forum.codejock.com/smileys/smiley24.gif" border="0"></U></P><P>Can someone help me on this?</P><P>In my previewWindow.cpp I have:</P><P>---------------</P><FONT color=#0000ff size=2><P>int</FONT><FONT size=2> previewWindow::OnCreate(LPCREATESTRUCT lpCreateStruct) </P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (CXTDockWindow::OnCreate(lpCreateStruct) == -1)</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1;</P></BLOCKQUOTE><P></FONT><FONT color=#008000 size=2>// Create the html start page</P></FONT><FONT size=2><P>CPropertiesBarHelpFrame* pHelpFrameWnd;</P><P></FONT>pHelpFrameWnd = NULL;</P><P>pHelpFrameWnd =  (CPropertiesBarHelpFrame*)CreateFrameDocView(RUNTIME_CLASS(C PropertiesBarHelpFrame), RUNTIME_CLASS( CPropertiesBarHelpView ) );</P><P><strong>SetChild(pHelpFrameWnd);</strong></P><FONT size=2><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0;</P></FONT><P>}</P></FONT>]]>
   </description>
   <pubDate>Fri, 24 Sep 2004 11:06:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1203&amp;PID=3237&amp;title=how-do-i-destroy-a-cxtdock-child-window#3237</guid>
  </item> 
 </channel>
</rss>