<?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 : CXTPCommandBars::RecalcFrameLayout question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPCommandBars::RecalcFrameLayout question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 13:17:11 +0000</pubDate>
  <lastBuildDate>Fri, 24 Jul 2009 16:54:33 +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=14825</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[CXTPCommandBars::RecalcFrameLayout question : In RecalcFrameLayout, the method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14825&amp;PID=51287&amp;title=cxtpcommandbarsrecalcframelayout-question#51287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14825<br /><strong>Posted:</strong> 24 July 2009 at 4:54pm<br /><br />In RecalcFrameLayout, the method is checking to see if the "m_pFrame" member (set by calling SetSite) is a frame window. If it is not, the code gets the client rect and sends a WM_SIZE message to the m_pFrame member.<DIV>&nbsp;</DIV><DIV>Since the client rect is obtained from the m_pFrame,&nbsp;sending WM_SIZE is apparently not being done to actually change the size of the window. So what is the purpose of sending the WM_SIZE message?</DIV><DIV>&nbsp;</DIV><DIV>In case you are wondering why I care, I am trying to figure out why the popup menu that TrackPopupMenuEx (on CCommandBars) sometimes results in a failure to properly update the area under the menu once it is dismissed. Changing my Vista display settings seems to affect the update issue. Perhaps this is a "trick" to invalidate the site window? To what purpose?</DIV>]]>
   </description>
   <pubDate>Fri, 24 Jul 2009 16:54:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14825&amp;PID=51287&amp;title=cxtpcommandbarsrecalcframelayout-question#51287</guid>
  </item> 
 </channel>
</rss>