<?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 : GetMenuDefaultItem bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : GetMenuDefaultItem bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 13:30:18 +0000</pubDate>
  <lastBuildDate>Tue, 13 Feb 2007 07:41:38 +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=6391</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[GetMenuDefaultItem bug : Hi,   Thanks, it&amp;#039;s still...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6391&amp;PID=20353&amp;title=getmenudefaultitem-bug#20353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6391<br /><strong>Posted:</strong> 13 February 2007 at 7:41am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV><DIV></DIV>Thanks, it's still here. Good catch!</DIV><DIV>&nbsp;</DIV><DIV>Think, we previously used CMenu::GetDefaultItem where these parameters are switched.</DIV>]]>
   </description>
   <pubDate>Tue, 13 Feb 2007 07:41:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6391&amp;PID=20353&amp;title=getmenudefaultitem-bug#20353</guid>
  </item> 
  <item>
   <title><![CDATA[GetMenuDefaultItem bug : I found a &amp;#034;style bug&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6391&amp;PID=20338&amp;title=getmenudefaultitem-bug#20338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2754">dalle</a><br /><strong>Subject:</strong> 6391<br /><strong>Posted:</strong> 13 February 2007 at 3:04am<br /><br />I found a "style bug" in the old source 9.60, I don't know if it is fixed in later releases. The arguments to GetMenuDefaultItem is swapped in CXTPControls::AddMenuItem and CXTPMenuBar::CXTPControlMDISysMenuPopup.<br><br>::GetMenuDefaultItem(pMenu-&gt;m_hMenu, GMDI_USEDISABLED, TRUE)<br><br>should be:<br><br>::GetMenuDefaultItem(pMenu-&gt;m_hMenu, TRUE, GMDI_USEDISABLED)<br><br>(It really does not matter as GMDI_USEDISABLED == 0x0001 and TRUE == 1, but it generates warnings when I compile the code in my head. <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle">)<br>]]>
   </description>
   <pubDate>Tue, 13 Feb 2007 03:04:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6391&amp;PID=20338&amp;title=getmenudefaultitem-bug#20338</guid>
  </item> 
 </channel>
</rss>