<?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 : SOLVED: Problem cleaning up</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : SOLVED: Problem cleaning up]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 20:58:54 +0000</pubDate>
  <lastBuildDate>Thu, 22 Jan 2009 07:50:37 +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=13213</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[SOLVED: Problem cleaning up : Hoi Oleg,  I&amp;#039;ve found out...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13213&amp;PID=44787&amp;title=solved-problem-cleaning-up#44787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4792">rdhaan</a><br /><strong>Subject:</strong> 13213<br /><strong>Posted:</strong> 22 January 2009 at 7:50am<br /><br />Hoi Oleg,<DIV>&nbsp;</DIV><DIV>I've found out what my problem was.</DIV><DIV>First my window is destroyed (and effectly set the hwnd to 0...).</DIV><DIV>then i start deleting my panes and all frames and windows atteched to them. This results in the crash.</DIV><DIV>&nbsp;</DIV><DIV>I made the VB by hand, resulting in the same situation: frst the window is destroyed, then the pane(s).</DIV><DIV>&nbsp;</DIV><DIV>After changing the order (first the pane, then the window) the problem is solved.</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jan 2009 07:50:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13213&amp;PID=44787&amp;title=solved-problem-cleaning-up#44787</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Problem cleaning up : Hi, Guess you call DestroyPane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13213&amp;PID=44748&amp;title=solved-problem-cleaning-up#44748</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13213<br /><strong>Posted:</strong> 21 January 2009 at 2:16am<br /><br /><P>Hi,</P><DIV>Guess you call DestroyPane for same pane twice. Please attach this VB sample that crash</DIV>]]>
   </description>
   <pubDate>Wed, 21 Jan 2009 02:16:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13213&amp;PID=44748&amp;title=solved-problem-cleaning-up#44748</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Problem cleaning up : Hi all,   I have a problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13213&amp;PID=44722&amp;title=solved-problem-cleaning-up#44722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4792">rdhaan</a><br /><strong>Subject:</strong> 13213<br /><strong>Posted:</strong> 20 January 2009 at 9:02am<br /><br />Hi all, <DIV>&nbsp;</DIV><DIV>I have a problem with cleaning up the Panes.</DIV><DIV>&nbsp;</DIV><DIV>I create 3 panes , with 1 docked to the right, and the other 2 below the first.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp; ASSIGN h_Pane = ch_DockingPane:CreatePane( 1, 150, 100, 1 /* Right&nbsp; */, ? ).<BR>&nbsp;&nbsp; ASSIGN h_Pane = ch_DockingPane:CreatePane( 2, 150, 100, 3 /* Bottom */, h_Pane ).<BR>&nbsp;&nbsp; ASSIGN h_Pane = ch_DockingPane:CreatePane( 3, 150, 100, 3 /* Bottom */, h_Pane ).</DIV><DIV>&nbsp;&nbsp; /* Use them */<BR>&nbsp;&nbsp; </DIV><DIV>then for the first 2 i create a frame and set the handle (third is not used at this moment, still developing).</DIV><DIV>&nbsp;</DIV><DIV>After the program is done, i want to clean it all up:</DIV><DIV><BR>&nbsp;&nbsp; /* Clean up */<BR>&nbsp;&nbsp; DO WHILE ch_DockingPane:PanesCount &gt; 0:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASSIGN h_Pane = ch_DockingPane:FindPane( ip_ID ).<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF NOT VALID-HANDLE( h_Pane ) THEN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MESSAGE 'Cleaing up number: ' h_Pane:ID.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ch_DockingPane:DestroyPane( h_Pane ).<BR>&nbsp;&nbsp; END.<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; </DIV><DIV>But: I get the message 'Cleaing up number 3:' and then my applicatyion crashes.</DIV><DIV>What do i do wrong?</DIV><DIV>&nbsp;</DIV><DIV>BTW. This is written in Openedge, but using the same kind of code in VB also crashes VB????</DIV>]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 09:02:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13213&amp;PID=44722&amp;title=solved-problem-cleaning-up#44722</guid>
  </item> 
 </channel>
</rss>