<?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 : Menu bar bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Menu bar bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 18:20:34 +0000</pubDate>
  <lastBuildDate>Wed, 21 Jan 2004 09:38:34 +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=374</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[Menu bar bug : XTreme Toolkit 4.1 bug: If you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=374&amp;PID=826&amp;title=menu-bar-bug#826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=327">rwfearnley</a><br /><strong>Subject:</strong> 374<br /><strong>Posted:</strong> 21 January 2004 at 9:38am<br /><br /><P>XTreme Toolkit 4.1 bug:</P><P>If you run your MDI application (e.g. GUI_VisualStudio demo) and, before opening the Window menu, the application receives a WM_SETTINGCHANGE message (e.g. change the Regional Option in the control panel) the CXTMenuBar control looses its handle to the Window menu. If you then open the Window menu it fails to add the MDI child window list to the pop up menu.</P><P>This is caused by a bug in CXTMenuBar::OnSettingChange (XTMenuBar.cpp)</P><P>the line:</P><P>&nbsp;LoadMenu(m_hMenu, m_hMenuDefault);</P><P>should read:</P><P>&nbsp;LoadMenu(m_hMenu, m_hMenuShared);</P><P>When the original line is executed the member variable m_hMenuShared gets set to m_hMenuDefault. Then when CXTMenuBar::OnInitWindowMenu is executed when the Window menu is selected it updates the wrong menu, so the Window menu is not updated.</P><P>In our case we switch menus when views are changed and we also send WM_SETTINGCHANGE internally when various settings are changed. This means the problem happens more frequently.</P><P>To reproduce:<BR>1. Open an MDI application with a menu bar (e.g. GUI_VisualStudio demo)<BR>2. Change the Regional Option in the Control Panel<BR>3. Open the Window menu - the MDI window list is missing<BR></P><span style="font-size:10px"><br /><br />Edited by rwfearnley</span>]]>
   </description>
   <pubDate>Wed, 21 Jan 2004 09:38:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=374&amp;PID=826&amp;title=menu-bar-bug#826</guid>
  </item> 
 </channel>
</rss>