<?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 : Crashing RefreshMenu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Crashing RefreshMenu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:27:31 +0000</pubDate>
  <lastBuildDate>Thu, 08 Nov 2012 18:06:42 +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=20288</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[Crashing RefreshMenu :   I have a tabbed MDI window...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20288&amp;PID=69214&amp;title=crashing-refreshmenu#69214</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1573">rock</a><br /><strong>Subject:</strong> 20288<br /><strong>Posted:</strong> 08 November 2012 at 6:06pm<br /><br />I have a tabbed MDI window that crashes when I close the window.&nbsp; The crash occurs during CXTPMenuBar::OnTimer() when calling CXTPMenuBar::RefreshMenu().&nbsp; The crash occurs within CXTPMenuBar::GetActiveMdiChildWnd().&nbsp; The crash is on the line:<div></div> ASSERT(hWnd == NULL || ::IsWindow(hWnd));<div>&nbsp;</div><div>hWnd is not NULL so ::IsWindow() is failing.&nbsp; One odd thing is that there are 2 tabs in the MDI Window, one a Browser (IE) and the other an Editor window.&nbsp; If the Browser tab is active when the Window is closed, no crash.&nbsp; If the Editor is active, it crashes.&nbsp; Both have the same menus &amp; command bar.</div><div>&nbsp;</div><div>Any thoughts on what is happening?&nbsp; Is there a way to suspend the RefreshMenu timer until the window if completely destroyed?</div>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 18:06:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20288&amp;PID=69214&amp;title=crashing-refreshmenu#69214</guid>
  </item> 
 </channel>
</rss>