<?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 : how to set toolbar associate with menu item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : how to set toolbar associate with menu item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 17:45:51 +0000</pubDate>
  <lastBuildDate>Wed, 19 Sep 2007 11:32:35 +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=8074</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[how to set toolbar associate with menu item : Hi, I got a little bit confused....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8074&amp;PID=26145&amp;title=how-to-set-toolbar-associate-with-menu-item#26145</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3310">Pearl</a><br /><strong>Subject:</strong> 8074<br /><strong>Posted:</strong> 19 September 2007 at 11:32am<br /><br />Hi, I got a little bit confused. I add toolbar like this way:<DIV>&nbsp;</DIV><DIV>m_wndExpressBar = (CXTPToolBar*)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCommandBars-&gt;Add(_T("Express"), xtpBarTop);<BR>&nbsp;&nbsp;&nbsp; if (!m_wndExpressBar || !m_wndExpressBar-&gt;LoadToolBar(IDR_EXPRESSTOOLS))<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create express toolbar\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;<BR>&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;</DIV><DIV>IDR_EXPRESSTOOLS is resourceID for toolbar. And there is a menu resource ID - IDW_EXPRESSTOOLS which will accociate with IDR_EXPRESSTOOLS. Where I can put IDW_EXPRESSTOOLS when I add toolbar. </DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 11:32:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8074&amp;PID=26145&amp;title=how-to-set-toolbar-associate-with-menu-item#26145</guid>
  </item> 
  <item>
   <title><![CDATA[how to set toolbar associate with menu item : Hi,  Just add item with standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8074&amp;PID=26128&amp;title=how-to-set-toolbar-associate-with-menu-item#26128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8074<br /><strong>Posted:</strong> 19 September 2007 at 4:54am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Just add item with standard ID_VIEW_TOOLBAR id, CommandBars will automatically build list of toolbars.</DIV>]]>
   </description>
   <pubDate>Wed, 19 Sep 2007 04:54:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8074&amp;PID=26128&amp;title=how-to-set-toolbar-associate-with-menu-item#26128</guid>
  </item> 
  <item>
   <title><![CDATA[how to set toolbar associate with menu item : Hi   In my old MFC application,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8074&amp;PID=26117&amp;title=how-to-set-toolbar-associate-with-menu-item#26117</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3310">Pearl</a><br /><strong>Subject:</strong> 8074<br /><strong>Posted:</strong> 18 September 2007 at 8:12pm<br /><br />Hi <DIV>&nbsp;</DIV><DIV>In my old MFC application, I have some code to associate the toolbars with menu items, which means, once you click the corresponding menu item, the associate toolbar will display or disappear. It's so strange, when I reskin my first MFC application, and add some CXTPToolbar, it do automatically add&nbsp;corresponding menu items in View Menu. But for the second application I am doing, it never works. Please help me.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV><DIV>&nbsp;</DIV><DIV>Pearl</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 18 Sep 2007 20:12:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8074&amp;PID=26117&amp;title=how-to-set-toolbar-associate-with-menu-item#26117</guid>
  </item> 
 </channel>
</rss>