<?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 : Pane in child frame not updated</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Pane in child frame not updated]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 23:22:36 +0000</pubDate>
  <lastBuildDate>Mon, 21 Jan 2008 02:43: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=9359</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[Pane in child frame not updated : Yes, I know that. The question...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9359&amp;PID=30333&amp;title=pane-in-child-frame-not-updated#30333</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9359<br /><strong>Posted:</strong> 21 January 2008 at 2:43am<br /><br />Yes, I know that. The question is; how do I tell all my child frames to make that call (I have pane managers in other frames than main)?<DIV>&nbsp;</DIV><DIV>My current solution is to send a user-defined message, UWM_REFRESHMETRICS, which I send to all child frames. However, I do not like that solution. Isn't there built-in support for this? Some WM_XTP-message perhaps?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your response!</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jan 2008 02:43:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9359&amp;PID=30333&amp;title=pane-in-child-frame-not-updated#30333</guid>
  </item> 
  <item>
   <title><![CDATA[Pane in child frame not updated : Him  You must call RefreshMe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9359&amp;PID=30326&amp;title=pane-in-child-frame-not-updated#30326</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9359<br /><strong>Posted:</strong> 21 January 2008 at 2:16am<br /><br />Him<DIV>&nbsp;</DIV><DIV>You must call RefreshMetrics:</DIV><DIV>&nbsp;</DIV><DIV>m_paneManager.GetPaintManager()-&gt;RefreshMetrics();</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jan 2008 02:16:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9359&amp;PID=30326&amp;title=pane-in-child-frame-not-updated#30326</guid>
  </item> 
  <item>
   <title><![CDATA[Pane in child frame not updated : When I change ribbon style (aqua,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9359&amp;PID=30305&amp;title=pane-in-child-frame-not-updated#30305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9359<br /><strong>Posted:</strong> 19 January 2008 at 7:28pm<br /><br />When I change ribbon style (aqua, black etc), I update the main frame as shown in the MDI Ribbon sample. However, my panes in my child frames are not updated. I understand the reason for this, but I want to solve this elegantly. Please help me out!<DIV>&nbsp;</DIV><DIV>I have this in CMainFrame:</DIV><DIV><DIV><FONT color=#020002 size=2>ON_COMMAND_RANGE</FONT><FONT size=2>(</FONT><FONT color=#020002 size=2>ID_OPTIONS_STYLEBLUE</FONT><FONT size=2>, </FONT><FONT color=#020002 size=2>ID_OPTIONS_STYLEAQUA</FONT><FONT size=2>, </FONT><FONT color=#020002 size=2>OnOptionsStyle</FONT><FONT size=2>)</FONT></DIV><DIV><FONT size=2>&nbsp;</DIV></FONT></DIV><DIV>I thought this would update the pane in my child frame, but it does not:</DIV><DIV>&nbsp;</DIV><DIV>CWnd *pWnd = CWnd::FromHandle(m_hWndMDIClient)-&gt;GetWindow(GW_CHILD);<BR>while (pWnd)<BR>{<BR>&nbsp;&nbsp;&nbsp; pWnd-&gt;RedrawWindow(0, 0, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE | RDW_ALLCHILDREN);<BR>&nbsp;&nbsp;&nbsp; pWnd = pWnd-&gt;GetWindow(GW_HWNDNEXT);<BR>}</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><strong>Q: How do I explicitly tell my child frame to tell the pane manager to update its metrics?</strong></DIV></FONT>]]>
   </description>
   <pubDate>Sat, 19 Jan 2008 19:28:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9359&amp;PID=30305&amp;title=pane-in-child-frame-not-updated#30305</guid>
  </item> 
 </channel>
</rss>