<?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 : Nested Dialog Panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Nested Dialog Panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 13:17:19 +0000</pubDate>
  <lastBuildDate>Mon, 29 Jan 2007 22:35: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=6258</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[Nested Dialog Panes : Thank a lot! You enlighten me,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6258&amp;PID=19851&amp;title=nested-dialog-panes#19851</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2714">dreamer1977</a><br /><strong>Subject:</strong> 6258<br /><strong>Posted:</strong> 29 January 2007 at 10:35pm<br /><br /><P><BR>Thank a lot!</P><DIV>You enlighten me, despite it works a bit improperly with my code.<BR></DIV><DIV>It seems that&nbsp; the AssistantPaneDialog OnSize(...) cx, cy not match it's size.So after I correct the cx,cy according it's size, the problem disappears.<BR></DIV><DIV>void AssistantPaneDialog::OnSize(UINT nType, int cx, int cy)<BR>{<BR>&nbsp;RECT rcWindow;<BR>&nbsp;GetWindowRect(&amp;rcWindow);<BR>&nbsp;CDialog::OnSize(nType, rcWindow.right-rcWindow.left,&nbsp;&nbsp;rcWindow.bottom-rcWindow.top);<BR>&nbsp;RepositionBars(0, 0xffff, AFX_IDW_PANE_FIRST, 0, 0,0);<BR>}</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jan 2007 22:35:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6258&amp;PID=19851&amp;title=nested-dialog-panes#19851</guid>
  </item> 
  <item>
   <title><![CDATA[Nested Dialog Panes : hi, Just call RepositionBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6258&amp;PID=19842&amp;title=nested-dialog-panes#19842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6258<br /><strong>Posted:</strong> 29 January 2007 at 2:43pm<br /><br />hi,<DIV>Just call RepositionBars in the end of OnInitDialog.</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jan 2007 14:43:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6258&amp;PID=19842&amp;title=nested-dialog-panes#19842</guid>
  </item> 
  <item>
   <title><![CDATA[Nested Dialog Panes : Hello! Any suggestions...  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6258&amp;PID=19839&amp;title=nested-dialog-panes#19839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2714">dreamer1977</a><br /><strong>Subject:</strong> 6258<br /><strong>Posted:</strong> 29 January 2007 at 1:14pm<br /><br /><P>Hello!</P><DIV>Any suggestions...</DIV><DIV>&nbsp;</DIV><DIV>I put two dialog derived panes(MainPaneDialog,AssistantPaneDialog) in the main frame(Hide Client) ,and nest two dialog&nbsp; derived panes(ChildPaneDialogOne,ChildPaneDialogTwo) in the AssistantPaneDialog(Hide Client).</DIV><DIV>&nbsp;</DIV><DIV>Pic Startup:</DIV><DIV><img src="https://forum.codejock.com/uploads/20070129_131227_Startup.JPG" border="0"><BR></DIV><DIV>Pic AfterResize</DIV><DIV><img src="https://forum.codejock.com/uploads/20070129_131329_AfterResize.JPG" border="0"></DIV><DIV>&nbsp;</DIV><DIV>When the program startup, the child panes' sizes are not properly.(Pic Strartup). After a frame resizing, the child panes' sizes are properly(Pic AfterResize).</DIV><DIV>&nbsp;</DIV><DIV>It's properly that parent(AssistantPaneDialog) dialog template size is smaller than it's pane size. When the child panes show, they use the parent dialog template size.And no further WM_SIZE message is sent to the parent pane to correct it's client size and Reposition Bars.So some parent pane's area is left.</DIV><P>It seems a good way that auto send a proper WM_SIZE to the parent pane just after the program startup.How can I do this?Is it needed to override the OnIdle method?</P><P>Apologize for my bad English.</P><P>Thanks!</P>]]>
   </description>
   <pubDate>Mon, 29 Jan 2007 13:14:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6258&amp;PID=19839&amp;title=nested-dialog-panes#19839</guid>
  </item> 
 </channel>
</rss>