<?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 : Panes Bug (DoModal and top-level windows)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Panes Bug (DoModal and top-level windows)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 07:34:26 +0000</pubDate>
  <lastBuildDate>Fri, 05 May 2006 17:16:26 +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=4145</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[Panes Bug (DoModal and top-level windows) : Hey Oleg,Thanks for the response....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4145&amp;PID=12708&amp;title=panes-bug-domodal-and-toplevel-windows#12708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1568">fishy</a><br /><strong>Subject:</strong> 4145<br /><strong>Posted:</strong> 05 May 2006 at 5:16pm<br /><br />Hey Oleg,<br>Thanks for the response.&nbsp; I found this gem on the forums: <br><a href="https://forum.codejock.com/forum_posts.asp?TID=2379" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=2379</a>.&nbsp; Doing what is suggested (timer and sending WM_IDLEUPDATECMDUI manually) seemed to fix it but the solution isn't very elegant.&nbsp; Do you have any other suggestions on when/how to send WM_IDLEUPDATECMDUI??<br><br>- fishy<br>]]>
   </description>
   <pubDate>Fri, 05 May 2006 17:16:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4145&amp;PID=12708&amp;title=panes-bug-domodal-and-toplevel-windows#12708</guid>
  </item> 
  <item>
   <title><![CDATA[Panes Bug (DoModal and top-level windows) : Hello, Unfortunatelly porblem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4145&amp;PID=12703&amp;title=panes-bug-domodal-and-toplevel-windows#12703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4145<br /><strong>Posted:</strong> 05 May 2006 at 4:32pm<br /><br /><P>Hello,</P><P>Unfortunatelly porblem inside MFC. I don't like the way MFC create MultiFrame windows.</P><P>The same problem can be reproduced without Codejcok controls:</P><P>create MultiTopFrame application with CEditView view. If you open modal Dialog box in first frame, on second toolbar will not update self.</P><P>The reason that MFC font see WM_IDLEUPDATECMDUI message to seconf frame, if first show message box.</P><P>Solution: </P><P>1. To try to send WM_IDLEUPDATECMDUI&nbsp; manually</P><P>2. Use separate threads for frames as in our MSDI sample (you can try see that it will not have this problem.)</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 05 May 2006 16:32:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4145&amp;PID=12703&amp;title=panes-bug-domodal-and-toplevel-windows#12703</guid>
  </item> 
  <item>
   <title><![CDATA[Panes Bug (DoModal and top-level windows) : Hello.I am using version 9.80...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4145&amp;PID=12700&amp;title=panes-bug-domodal-and-toplevel-windows#12700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1568">fishy</a><br /><strong>Subject:</strong> 4145<br /><strong>Posted:</strong> 05 May 2006 at 3:54pm<br /><br />Hello.<br>I am using version 9.80 and I have experienced a problem with applications using docking panes with multiple top-level windows.<br><br>Consider this example:&nbsp; Two top-level windows exist, window1 and window2.&nbsp; A modal dialog is displayed whose parent is window1.&nbsp; A user leaves this modal dialog open and clicks on window2.&nbsp; (window2 is not affected by the modal loop because it is not a parent of the modal dialog).&nbsp; The user then tries to 'unpin' one of the docking panes (or any other operation on the panes).&nbsp; The pane will appear as if the pin is pressed, but will not move.&nbsp; In fact, the pane will be frozen until the previously created modal dialog is closed.&nbsp; Once the modal dialog is closed the pane will update properly.&nbsp; <br><br>This behavior is very easy to demonstrate.&nbsp; Just use the Codejock's VS application wizard to create a multiple top-level windows application.&nbsp; Create two top-level windows and then click the print button (brings up the modal print dialog).&nbsp; Now, click on the other top-level window and try to 'unpin' one of the panes - it will be frozen.<br><br>Whats the fix?<br><br>Source code is attached:<br><a href="uploads/fishy/2006-05-05_155311_MultiTopTest.zip" target="_blank">2006-05-05_155311_MultiTopTest.zip</a><br><br>See the screenshots for details:<br><br>Step 1: Create two top-level windows:<br><img src="uploads/fishy/2006-05-05_153547_step1.jpg" border="0"><br><br><br><br>Step 2: Open the modal print dialog:<br><img src="uploads/fishy/2006-05-05_155214_step2.jpg" border="0"><br><br><br><br>Step 3: Try to 'unpin' the other top-level window<br><img src="uploads/fishy/2006-05-05_155225_step3.jpg" border="0"><br><br><br>Step 4: Drag a window over the existing pane (pane is frozen.. no painting)<br><img src="uploads/fishy/2006-05-05_155234_step4.jpg" border="0"><br><a href="uploads/fishy/2006-05-05_155311_MultiTopTest.zip" target="_blank"><br></a>]]>
   </description>
   <pubDate>Fri, 05 May 2006 15:54:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4145&amp;PID=12700&amp;title=panes-bug-domodal-and-toplevel-windows#12700</guid>
  </item> 
 </channel>
</rss>