<?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 : Add Menu in Applicaton Based on Dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Add Menu in Applicaton Based on Dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 16:19:21 +0000</pubDate>
  <lastBuildDate>Tue, 08 May 2007 09:19:21 +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=7078</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[Add Menu in Applicaton Based on Dialog : Iuse Xtreme ToolkitPro v10.3.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7078&amp;PID=22676&amp;title=add-menu-in-applicaton-based-on-dialog#22676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2982">suntimes</a><br /><strong>Subject:</strong> 7078<br /><strong>Posted:</strong> 08 May 2007 at 9:19am<br /><br /><P>I&nbsp;use Xtreme ToolkitPro v10.3.1 to beautify the application based on dialog. After I loaded a skin, the menu disappeared. Then I write the code as follow:</P><DIV></DIV><P>&nbsp;&nbsp;&nbsp; // Initialize the command bars<BR>&nbsp;if (!m_wndStatusBar.Create(this) ||<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !m_wndStatusBar.SetIndicators(indicators,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sizeof(indicators)/sizeof(UINT)))<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create status bar\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<BR>&nbsp;&nbsp;&nbsp; }</P><P>&nbsp;if (!InitCommandBars())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;</P><P>&nbsp;CXTPCommandBars* pCommandBars = GetCommandBars();<BR>&nbsp;// Add the menu bar<BR>&nbsp;CXTPCommandBar* pMenuBar = pCommandBars-&gt;SetMenu(<BR>&nbsp;&nbsp;_T("Menu Bar"), IDR_MAINFRAME);<BR>&nbsp;if(pMenuBar == NULL)<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create menu bar.\n");<BR>&nbsp;&nbsp;return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<BR>&nbsp;}</P><DIV></DIV>And I change the dialog derive from CDialogSampleDlgBase. But&nbsp; I still can't get the menu in the dialog. What should I do more?]]>
   </description>
   <pubDate>Tue, 08 May 2007 09:19:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7078&amp;PID=22676&amp;title=add-menu-in-applicaton-based-on-dialog#22676</guid>
  </item> 
 </channel>
</rss>