<?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 : SOLVED: Hhierarchical Context Menu, How to ??</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SOLVED: Hhierarchical Context Menu, How to ??]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 23:18:29 +0000</pubDate>
  <lastBuildDate>Thu, 04 Sep 2008 02:07: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=12008</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[SOLVED: Hhierarchical Context Menu, How to ?? : Hi All,  CommandBar Imenu Imenu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40693&amp;title=solved-hhierarchical-context-menu-how-to#40693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 12008<br /><strong>Posted:</strong> 04 September 2008 at 2:07am<br /><br />Hi All,<DIV>&nbsp;</DIV><DIV>CommandBar&nbsp;&nbsp;&nbsp;&nbsp; Imenu</DIV><DIV>Imenu = CommandBars.ContextMenus(2).Controls.Find(0, 240)</DIV><DIV>&nbsp;</DIV><DIV>Imenu.CommandBar.Controls.Add( .....</DIV><DIV>&nbsp;</DIV><DIV>Thanks and best regards</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 04 Sep 2008 02:07:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40693&amp;title=solved-hhierarchical-context-menu-how-to#40693</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Hhierarchical Context Menu, How to ?? : Hello Oleg,   I am afraid this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40630&amp;title=solved-hhierarchical-context-menu-how-to#40630</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 12008<br /><strong>Posted:</strong> 31 August 2008 at 2:57am<br /><br />Hello Oleg, <DIV>&nbsp;</DIV><DIV>I am afraid this is not possible, I took one of the examples SDISample, there is a script to create context menu, I try to add your line, but the intelisence didn't regonize ..</DIV><DIV>&nbsp;</DIV><DIV>Take a look:</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim ContextBar As CommandBar<BR>&nbsp;&nbsp;&nbsp; Set ContextBar = CommandBars.ContextMenus.Add(400, "Context Menu")<BR>&nbsp;&nbsp;&nbsp; With ContextBar.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_NEW, "&amp;New"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_OPEN, "&amp;Open"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_SAVE, "&amp;Save"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_PRINT, "&amp;Print")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_EDIT_CUT, "Cu&amp;t")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Control.Controls.Add xtpControlButton, 1212, "Hello"<BR></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_EDIT_COPY, "&amp;Copy"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_EDIT_PASTE, "&amp;Paste"<BR>&nbsp;&nbsp;&nbsp; End With<BR></DIV><DIV>Logical should work ...</DIV><DIV>&nbsp;</DIV><DIV>Can you provide a script to loop through all the active menu items if possible, this would be of great help to me ...</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV>]]>
   </description>
   <pubDate>Sun, 31 Aug 2008 02:57:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40630&amp;title=solved-hhierarchical-context-menu-how-to#40630</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Hhierarchical Context Menu, How to ?? : Hi,  try  Control.CommandBar.Controls.Add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40564&amp;title=solved-hhierarchical-context-menu-how-to#40564</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12008<br /><strong>Posted:</strong> 28 August 2008 at 1:28pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>try</DIV><DIV>&nbsp;</DIV><DIV>Control.<strong>CommandBar</strong>.Controls.Add</DIV>]]>
   </description>
   <pubDate>Thu, 28 Aug 2008 13:28:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40564&amp;title=solved-hhierarchical-context-menu-how-to#40564</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Hhierarchical Context Menu, How to ?? : Dear All,   I try to create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40552&amp;title=solved-hhierarchical-context-menu-how-to#40552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2890">WaleedSeada</a><br /><strong>Subject:</strong> 12008<br /><strong>Posted:</strong> 28 August 2008 at 8:56am<br /><br />Dear All, <DIV>&nbsp;</DIV><DIV>I try to create a&nbsp;<!--StartFragment --><SPAN ="COLLO"><XBLPHRSENSEHWD id=PH.22255 ="PhrMe(this)">hierarchical</XBLPHRSENSEHWD></SPAN> context menu, with no luck, I defien one itme as popup and try to add to it's control items, but it always goes to the main context menu...</DIV><DIV>&nbsp;</DIV><DIV>Is there any way to achieve that ..</DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 28 Aug 2008 08:56:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12008&amp;PID=40552&amp;title=solved-hhierarchical-context-menu-how-to#40552</guid>
  </item> 
 </channel>
</rss>