<?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 : VB Menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : VB Menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:32:24 +0000</pubDate>
  <lastBuildDate>Tue, 22 Jun 2004 07:43:57 +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=873</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[VB Menu : Thank you for the code its working...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2295&amp;title=vb-menu#2295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=590">amolrajurkar</a><br /><strong>Subject:</strong> 873<br /><strong>Posted:</strong> 22 June 2004 at 7:43am<br /><br /><P>Thank you for the code its working g8t. </P><P>Thanks a lot.</P>]]>
   </description>
   <pubDate>Tue, 22 Jun 2004 07:43:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2295&amp;title=vb-menu#2295</guid>
  </item> 
  <item>
   <title><![CDATA[VB Menu :    This small sample illustrates...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2294&amp;title=vb-menu#2294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 873<br /><strong>Posted:</strong> 22 June 2004 at 7:31am<br /><br />This small sample illustrates how to add a popup menu to the menubarcalled "File" and how to add items to the "File" popup menu.&nbsp; The"New" menu item added to the "File" popup menu will have a submenu thatpopups up displaying more menu items.<br><br>'Place these constants in the General code section, they are used toidentify each menu item.&nbsp;&nbsp; You will use this id to determinewhich menu item was clicked, when you are trying to find an item, whenyou need to update the status of an item, etc....<br><br>Const ID_FILE_NEW = 100<br>Const ID_FILE_OPEN = 101<br>Const ID_FILE_CLOSE = 102<br>Const ID_FILE_SAVE = 103<br>Const ID_FILE_EXIT = 104<br>Const  ID_FILE_NEW_WINDOW = 105<br>Const&nbsp; ID_FILE_NEW_TAB = 106<br><br>'Place this code in the Form_Load event.&nbsp; This will add a simplemenu to the menubar.&nbsp;&nbsp; No toolbar is added in this sample. <br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<br>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<br>&nbsp;&nbsp;&nbsp; Dim ControlNew As CommandBarPopup<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; Set ControlFile = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&amp;File", -1, False)<br>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlNew = .Add(xtpControlPopup, 0, "&amp;New")<br>    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ControlNew.Com mandBar.Controls.Add xtpControlButton,ID_FILE_NEW_WINDOW, "New Navigator"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlNew.CommandBar.Controls.Add xtpControlButton, ID_FILE_NEW_TAB, "New Tab"<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_OPEN, "&amp;Open"<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_CLOSE, "&amp;Close")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_SAVE, "&amp;Save", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_EXIT, "&amp;Exit", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br>&nbsp;&nbsp;&nbsp; End With <br>End Sub<br><br>I hope this helps, I tried to keep it simple.&nbsp; Let me know if youneed help using this menu, or if you need help adding a toolbar<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"><br><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Tue, 22 Jun 2004 07:31:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2294&amp;title=vb-menu#2294</guid>
  </item> 
  <item>
   <title><![CDATA[VB Menu : sample are not clear to understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2292&amp;title=vb-menu#2292</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=590">amolrajurkar</a><br /><strong>Subject:</strong> 873<br /><strong>Posted:</strong> 22 June 2004 at 7:11am<br /><br /><P>sample are not clear to understand me,</P><P>I want a small sample add a menu, sub menu and menu items only</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 22 Jun 2004 07:11:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2292&amp;title=vb-menu#2292</guid>
  </item> 
  <item>
   <title><![CDATA[VB Menu : Take a look at any of the CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2291&amp;title=vb-menu#2291</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 873<br /><strong>Posted:</strong> 22 June 2004 at 7:04am<br /><br />Take a look at any of the CommandBars sample projects, they include all of the code you need to create a menu.<br><br>What type of menu are you looking to create?&nbsp; Can you be morespecific?&nbsp; This way I can point you to the appropriate sample, orpost some sample code.<br>]]>
   </description>
   <pubDate>Tue, 22 Jun 2004 07:04:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2291&amp;title=vb-menu#2291</guid>
  </item> 
  <item>
   <title><![CDATA[VB Menu : How can i create menu in vb using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2290&amp;title=vb-menu#2290</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=590">amolrajurkar</a><br /><strong>Subject:</strong> 873<br /><strong>Posted:</strong> 22 June 2004 at 6:55am<br /><br /><P>How can i create menu in vb using Xtreme Commandbars please post a small example </P><P>&nbsp;</P><P>&nbsp;</P><P>Thank you</P><P>&nbsp;</P><P>Amol</P>]]>
   </description>
   <pubDate>Tue, 22 Jun 2004 06:55:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=873&amp;PID=2290&amp;title=vb-menu#2290</guid>
  </item> 
 </channel>
</rss>