<?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 : CXTMenuBar Error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTMenuBar Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 19:30:56 +0000</pubDate>
  <lastBuildDate>Fri, 02 Jan 2004 17:30:14 +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=178</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[CXTMenuBar Error : Hello, Please take a look at...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=178&amp;PID=724&amp;title=cxtmenubar-error#724</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1">kstowell</a><br /><strong>Subject:</strong> 178<br /><strong>Posted:</strong> 02 January 2004 at 5:30pm<br /><br /><P>Hello,</P><P>Please take a look at this article:<BR><A href="http://www.codejock.com/support/KB/003004.asp" target="_blank">http://www.codejock.com/support/KB/003004.asp</A></P><P>It has a sample included that shows how to accomplish this.</P><P>Regards,</P><P>Codejock Support</P>]]>
   </description>
   <pubDate>Fri, 02 Jan 2004 17:30:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=178&amp;PID=724&amp;title=cxtmenubar-error#724</guid>
  </item> 
  <item>
   <title><![CDATA[CXTMenuBar Error :   This code fails. Makes second...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=178&amp;PID=364&amp;title=cxtmenubar-error#364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=198">WWW.CAM.ES</a><br /><strong>Subject:</strong> 178<br /><strong>Posted:</strong> 17 October 2003 at 7:49am<br /><br /><FONT size=2><P>&nbsp;</P><P><FONT face="Arial, Helvetica, sans-serif" size=3><strong>This code fails. Makes second submenu be empty and moves down its items to next menu.</strong></FONT></P><P>CMenu *pMainMenu = m_wndMenuBar.GetMenu();</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(pMainMenu)</P><P>{</P><P>pMainMenu-&gt;AppendMenu(MF_STRING, </FONT><FONT color=#ff0000 size=2>1000</FONT><FONT size=2>, </FONT><FONT color=#008080 size=2>"Prueba"</FONT><FONT size=2>);</P><P>pMainMenu-&gt;InsertMenu(</FONT><FONT color=#ff0000 size=2>2</FONT><FONT size=2>, MF_BYPOSITION| MF_STRING, </FONT><FONT color=#ff0000 size=2>1001</FONT><FONT size=2>, </FONT><FONT color=#008080 size=2>"Prueba2"</FONT><FONT size=2>);</P><P>}</P><P>&nbsp;</P><P><FONT face="Arial, Helvetica, sans-serif" size=3><strong>This code works fine. Append menu entries in the first submenu.</strong></FONT></P><P>CMenu *pMenu2 = pMainMenu-&gt;GetSubMenu(</FONT><FONT color=#ff0000 size=2>0</FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(pMenu2)</P><P>{</P><P>pMenu2-&gt;AppendMenu(MF_STRING, </FONT><FONT color=#ff0000 size=2>1000</FONT><FONT size=2>, </FONT><FONT color=#008080 size=2>"Prueba"</FONT><FONT size=2>);</P><P>pMenu2-&gt;InsertMenu(</FONT><FONT color=#ff0000 size=2>2</FONT><FONT size=2>, MF_BYPOSITION| MF_STRING, </FONT><FONT color=#ff0000 size=2>1001</FONT><FONT size=2>, </FONT><FONT color=#008080 size=2>"Prueba2"</FONT><FONT size=2>);</P><P>}</P><P><strong><FONT face=Arial size=3></FONT></strong>&nbsp;</P><P><strong><FONT face=Arial size=3>&nbsp;If anyone knows something about this problem please send information on how resolve it.&nbsp;Our intention is to append new items dinamically in the mainframe window menu.</FONT></strong></P><P><strong><FONT face=Arial size=3></FONT></strong>&nbsp;</P><P><strong><FONT face=Arial size=3>Thanks.</FONT></strong></P><P><strong><FONT face=Arial size=3></FONT></strong>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Fri, 17 Oct 2003 07:49:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=178&amp;PID=364&amp;title=cxtmenubar-error#364</guid>
  </item> 
 </channel>
</rss>