menu

Determine if a menu is dropped down

Is there a way to determine if a menu is dropped down in the win32 api? Something that could be used like so: HMENU hMenu = GetMenu(hWnd); HMENU hSubMenu = GetSubMenu(hMenu); // Is hSubMenu dropped down? ...

WinForms open popup usercontrol as menuitem menu dropdown?

Been searching everywhere and can't find a way to do this. I have a menubar across the top of my winforms program. Now it just pops up a normal menuitem menu. I would like to disable that menu and popup a nice looking usercontrol that looks like its the dropdown for that menu item but includes much more customization. A good example wou...

using javascript, what options are there to set the currently selected navigation item?

using javascript, what options are there to set the currently selected navigation item? Assuming the page refreshes on whenever someone clicks on a navigation link, the only way would be to either do it on the server side or set it dynamically by looking up the current URL? Are there any other tricks? ...

Menu Jumping on Hover

Hi, I have a web app(ASP.NET 2.0 C#). On my Masterpage, I have a menu control, and I am using a css stylesheet to style the different parts of the menu. For some reason, when I hover over the menu, it jumps a little. I think somehow the borders become larger when I hover over it. Heres the styling for the whole menu: .menu { widt...

Is there a way to programatically close a menuitem in WPF

I have a menu in wpf that has an input box and a button on it. Once the user clicks the button I need to close the menu. Is there a way to do this? <Menu x:Name="MainMenu"> <MenuItem Header="Main"> <MenuItem Header="SubMenu" x:Name="SubMenu"> <StackPanel Orientation="Horizontal"> ...

Joomla 1.0 - need to add drop down menu into existing template

What is the best and easiest way to add a drop down menu to an existing template in Joomla 1.0 (can't upgrade it)? Thanks ...

How to hide or disable menu item in Mac OS X

I can get the menu handle from CreateNibReference function, but I don't know how to hide or disable menu item with the handle in Mac OS X? ...

Context Sensitive Menus - Java ME

Hello, I'm trying to build a context sensitive based command list. I set the command.ITEM option for all my command buttons. But I couldn't find a way how to provide the following functionality: I have a list of values say A, B,C For A, my command menu should contain 2,4 When I move the selection (cursor) to B, my commands menu should h...

ASP.NET MVC – Database Driven Menu

I have a database menu structure which I would like to add to the site.master file. I’ve looked at other questions on StackOverflow but cannot get this to work on my website. How do I add a User Control to the Site.Master file? Menu.ascx <%foreach (MainMenuSort mainMenuSort in (List<MainMenuSort>)ViewData["MainMenuSortListDisplay"]) ...

Can I change the column that links to the item with edit menu in a sharepoint list?

There was a similar question asked but it wasn't exactly what I am trying to do. Here is a link to the question: http://stackoverflow.com/questions/607291/auto-number-column-in-sharepoint-list-with-link-to-item/799866#799866 Two solutons were offered to that question. Could either of these solutions work for an imported list I have wh...

ASP.NET horizontal menu with submenu appearing below, also horizontal

I've got a horizontal menu with UL/LI markup that I want to convert to an ASP:Menu in .net 3.5. I'd like choices in the submenu to be rendered in a horizontal menu below the main menu when the main menu option is clicked. I also want to: indicate which menu option is chosen by highlighting/bolding both the main menu and submenu, chec...

Strategy for building menus with multiple, overlapping roles

I have a system for students, instructors, and administrators. Sometimes an instructor can also be an administrator. I intend to store menus and submenus in XML. Should I store admin and instructor menus in separate nodes, and then combine them when I render, or should I have one master menu with roles attached that shows all the option...

How to pad an image and text in the asp:Menu control

I have an asp:Menu control that has four different menu items in it. Each menu item has a graphic and a text description. <Items> <asp:MenuItem Text="New Authorization Form" Value="default.aspx" NavigateUrl="~/Default.aspx" ImageUrl="~/Images/TextPad.png"></asp:MenuItem> <asp:MenuItem Text="Manage My Forms" Value="myrequests.as...

Use Site Map for Two Levels of Horizontal Navigation

How do I use the ASP.NET sitemap control to render stacked horizontal css menus with styled UL/LIs? It seems to only want to do trees or flyouts. ...

MVC Web Application Database Driven Menu by User Permissions

We are going to port a legacy windows app to a large web application for a vertical market. Looking at MVC. Each implementation may have 50 to 5000 users. Looking at putting navigation in Master Page. The application will contain 200 to 300 menu items, resulting in over 500 views. We want to display a trimmed navigation menu for each use...

C# - Context Menu Strip has scroll behaviour when user hits arrow keys

I have a context menu strip with 8 items and two separators. When the user brings up the context menu strip, then hits the arrow key to scroll through the items, hitting the eighth item causes the menu to 'scroll' up, leaving blank space at the bottom. Is there any way to prevent that behaviour? ...

css unordered list menu resembles 'steps' in IE

Hi, my menu is working fine on the good browsers. The code is all valid (so far!). In IE though it looks like a staircase, each menu item is a few pixels down from it left neighbour. It should all be horizontal. Please have a look here ...

CMenu and Dialog-based applications

Is it possible to put a menu in a dialog based application? How? ...

Horizontal menu in WP default theme

I'm setting up a simple webpage using Wordpress. You can watch it at www.unistore.se. My question is: How can I include a horizontal menu just below the header? I would like to be able to create new links in the menu with the "New page"-function in the wordpress admin. Thanks! ...

VSTO and Outlook 2003 Context menus

Hi Guys, I want to have outlook 2003/2007 integration with my application using VSTO. with outlook 2007 it's OK - i have all the hooks i need but with outlook 2003 i can't find how to add conext menu item to the mail items in the inbox. I didn't find any event handler for populating the context menu like the one in the 2007 version. D...