<?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="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Adding to main menu?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Adding to main menu?</description>
  <pubDate>Fri, 01 May 2026 07:03:15 -700</pubDate>
  <lastBuildDate>Thu, 04 Oct 2007 11:12:31 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=450</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Adding to main menu? : Nevermind. Got it. I had to add...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1441#1441</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 04-Oct-2007 at 11:12am<br /><br />Nevermind. Got it. I had to add the ShellViewPresenter to my project. Then I add the UserLookAndFeel to that. ]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 11:12:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1441#1441</guid>
  </item> 
  <item>
   <title>Adding to main menu? : I have tried setting the look...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1439#1439</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 04-Oct-2007 at 10:51am<br /><br />I have tried setting the look and feel on the shell as well as the DevExShellLayout and it hasn't worked.<DIV>&nbsp;</DIV><DIV>Where do you suggest putting this.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 10:51:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1439#1439</guid>
  </item> 
  <item>
   <title>Adding to main menu? : Well, it looks to me like you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1438#1438</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 04-Oct-2007 at 10:43am<br /><br />Well, it looks to me like you need to be sure the bonus skins are registered, then call<FONT size=2><P></FONT><FONT color=#008080 size=2>UserLookAndFeel</FONT><FONT size=2>.Default.SetSkinStyle(skinName);</P><DIV></DIV><P>Is this what you're doing?</FONT></P>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 10:43:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1438#1438</guid>
  </item> 
  <item>
   <title>Adding to main menu? : I do not wish to have the skin...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1437#1437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 04-Oct-2007 at 10:29am<br /><br />I do not wish to have the skin menu. I want to choose just one skin. Setting the skin at the shell does not seem to work.]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 10:29:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1437#1437</guid>
  </item> 
  <item>
   <title>Adding to main menu? : But how do you envoke their controls/forms....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1435#1435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 04-Oct-2007 at 10:25am<br /><br /><FONT color=#0000cc>But how do you envoke their controls/forms. </FONT><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Attach a handler to the command object invoked by the menu item.&nbsp; It turns out that the CAB framework provides an attribute that accomplishes this, as in this example from FoundationModule.cs:</DIV><DIV>&nbsp;</DIV><FONT size=2><P></FONT><FONT color=#808080 size=2>///</FONT><FONT color=#008000 size=2> </FONT><FONT color=#808080 size=2>&lt;summary&gt;</FONT><FONT color=#008000 size=2>Called when the user asks to show the Help | About.</FONT><FONT color=#808080 size=2>&lt;/summary&gt;</P></FONT><FONT size=2><P>&#091;</FONT><FONT color=#008080 size=2>CommandHandler</FONT><FONT size=2>(</FONT><FONT color=#008080 size=2>CommandNames</FONT><FONT size=2>.HelpAbout)&#093;</P><P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnHelpAbout(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#008080 size=2>EventArgs</FONT><FONT size=2> e) {</P><P>ShowHelpAbout();</P><P>}</P><DIV></DIV><DIV><FONT color=#0000ff>If the do pop up forms can they be done in any way?&nbsp;Can we have the forms added to the Workspace?</FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV><FONT color=#000000>See my discussion with Mykel in the thread "Displaying Forms Modally".</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>I see the BonusSkins.Register. But how do I just do one of them. </FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV><FONT color=#000000>I'm not sure I understand the question.&nbsp; I'm not an expert on DevEx, but the bonus skins are registered in ShellApplication.cs.&nbsp; Then, in DevExShwllLayoutViewPresenter.cs, a new instance of SkinMenu is added to the main menu UIExtensionSite.&nbsp; The SkinMenu handles selection of skins (without the use of the command pattern).</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV>Bill J.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 10:25:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1435#1435</guid>
  </item> 
  <item>
   <title>Adding to main menu? : I see the BonusSkins.Register....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1426#1426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 03-Oct-2007 at 11:15am<br /><br />I see the BonusSkins.Register. But how do I just do one of them.]]>
   </description>
   <pubDate>Wed, 03 Oct 2007 11:15:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1426#1426</guid>
  </item> 
  <item>
   <title>Adding to main menu? : Kind of. I see you can add them....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1425#1425</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 03-Oct-2007 at 11:13am<br /><br />Kind of. I see you can add them. But how do you envoke their controls/forms. <DIV>&nbsp;</DIV><DIV>If the do pop up forms can they be done in any way?&nbsp;Can we have the forms added to the Workspace?</DIV><DIV>&nbsp;</DIV><DIV>Also, where is the Skins I can't find them in the app.config. So I don't know where they are implmented. I really want to just choose one.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 03 Oct 2007 11:13:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1425#1425</guid>
  </item> 
  <item>
   <title>Adding to main menu? : Hi Dan,  Welcome back.  The...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1389#1389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 01-Oct-2007 at 5:03pm<br /><br /><DIV>Hi Dan,</DIV><DIV>&nbsp;</DIV><DIV>Welcome back.</DIV><DIV>&nbsp;</DIV><DIV>The main menu is defined in&nbsp;the DevExShellLayoutView or DotNetShellLsyoutView (in their respective IdeaBlade.Cab assemblies) and is registered with the root workitem as a UIExtension site in the view's RegisterUIExtensionSites() method.&nbsp; </DIV><DIV>Examples of adding items to the main menu may be found in:</DIV><DIV>&nbsp;</DIV><DIV>DevExShellLayoutViewPresenter (read UIElementBuilider for an example of reading menu information from App.config)</DIV><DIV>&nbsp;</DIV><DIV>and</DIV><DIV>&nbsp;</DIV><DIV>DotNetShellLayoutViewPresenter (examples of adding menu items&nbsp;at several registered UIExtensionSites.</DIV><DIV>&nbsp;</DIV><DIV>Does this help?</DIV><DIV>&nbsp;</DIV><DIV>BillJ</DIV>]]>
   </description>
   <pubDate>Mon, 01 Oct 2007 17:03:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1389#1389</guid>
  </item> 
  <item>
   <title>Adding to main menu? : How do you add menu items to the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1300#1300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 450<br /><strong>Posted:</strong> 24-Sep-2007 at 10:37am<br /><br />How do you add menu items to the main menu?]]>
   </description>
   <pubDate>Mon, 24 Sep 2007 10:37:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=450&amp;PID=1300#1300</guid>
  </item> 
 </channel>
</rss>