Click here to Skip to main content
15,889,909 members
Everything / Menu

Menu

menu

Great Reads

by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.
by Michael D Bray
Use the provided CSS with classed DIVs to build a clean-looking web-based menu that requires no JavaScript, and supports unlimited levels of both horizontal and vertical menus.
by Anurag_Gahrat
In this guide, learn about CSS Glassmorphism, its history, its characteristics, and how to create it, along with examples.
by Steffen Ploetz
The Win32++ class library sample collection does not contain a sample, that creates the frame menu via API instead of via resources. Here is the missing part.

Latest Articles

by Anurag_Gahrat
In this guide, learn about CSS Glassmorphism, its history, its characteristics, and how to create it, along with examples.
by ToughDev
How to install Microsoft Web Deploy on Win7
by ToughDev
How to fix ‘Search fields undefined’ error when generating source code for a Scriptcase gridview
by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.

All Articles

Sort by Title

Menu 

8 Sep 2016 by Anti-Antidote
The current menu structure in my program looks like this:void menu::main(){ cout
8 Sep 2016 by KarstenK
If you wann stay in DOS-Box it is usual standard to do it like in this example code.If you wanna some more fancy stuff than you need to program some GUI with programming language like C.
22 Sep 2016 by Anti-Antidote
I am trying to create a menu using switch(). However, the compiler keeps throwing me errors like invalid conversion of 'const char*' to 'char' [-fpermissive]. Here is the code:void info::get_factorio_version(string* factorio_version){ bool loop = true; while(loop){ cout
22 Sep 2016 by Richard MacCutchan
You have declared select as int, but your case statements are using character constants. they should be like: switch(select){ case 1: *factorio_version = "0.14";Also you do not need block separators ({ and }) surrounding your case code.
22 Jan 2016 by Michael D Bray
Use the provided CSS with classed DIVs to build a clean-looking web-based menu that requires no JavaScript, and supports unlimited levels of both horizontal and vertical menus.
17 Jan 2016 by Member 12268173
I'm building a accordion menu and I'm trying to keep the last active state of the accordion on page reload. I've tried javascript (see below) but it doesn't seem to work.See Codepen here$(document).ready(function () {$('.b-accordion').accordion({header:...
11 Oct 2013 by ASP.NET Community
Getting Active Directory queries to work in ASP.NET and IIS can be extremely tricky, especially if you're just getting started with ASP.NET, IIS and
12 Apr 2012 by geice
I have looked in many places, but found no need WHATThe thing is, I have a TabControl TabControl and within thisobviously have TabPages TabPages and within these forms have, there isgetting my problem (noob), when I open a tab at a timeworks fine, but when I leave an open and open the...
18 Apr 2012 by Maciej Los
I wrote for you a simple class to add and removes tabs (with forms). The solution is not perfect... You need to remember: this is an example!Steps to achieve a solution:1) We need an interface[^]Public Interface IFormsInTabs Function AddTab(ByVal frm As Windows.Forms.Form) As...
19 Mar 2015 by Ratnesh Mani Tripathi
Thanks Sir It Works.I give 5 star Out Of Five Star.
13 May 2012 by Andy Lanng
Hi,I am creating a website where I would like some neat context menu controls. I have already found some handy code to create the menu (but post 'em if you've got 'em) but I'm looking to create a standard UC for the site. I was hoping to be able to add items to the control in the same way...
13 May 2012 by Rahul Rajat Singh
So What i understood is that you need your user control to have the attributes that you can set from aspx markup.If you define public properties in your user control then use can use it like attributes from you pages' asp.net markup. Tell me If my understanding is not correct.
15 May 2012 by Greysontyrus
You need to add the following to your enclosing class: [ParseChildren(false)] [PersistChildren(true)] public partial class ContextMenu : UserControl {...}That will allow you to add items between the opening and closing tags of your UserControl. I have also included...
29 Aug 2017 by Samira Radwan
Hi, I'm trying to build a menu using Bootstrap 3, seems to work well, except i'm trying to create a second level of submenu like (menu1 > submenu1 > sub-submenu1). Looks like Bootstrap 3 doesn't support submenu anymore. Have searched the web, but all solutions require to change a lot of CSS...
29 Aug 2017 by Graeme_Grant
There are lots of devs with solutions: bootstrap 3 multimenu - Google Search[^] TL;DR: Here is one from the above Google Search: SmartMenus jQuery Website Menu - Bootstrap Addon - Navbar[^]
16 May 2013 by Nikfazan
This article shows how you can add jQuery UI Theme to Superfish Menu and Superfish Menu RTL
2 Jul 2014 by Keith O. Williams
I have a ping pong game that I want to connect to a classic ping pong game, however I don't know who to connect the two together. How do I add menu items on the form for the bold sections of my code?Here is the code (I hope I done it right): Public Sub New() Title =...
22 Dec 2012 by rlilley
I am currently working on a project in Visual Studio 2012 that needs to send an existing file from one folder to my Dropbox public folder in zipped format, get the Dropbox public link and email the link to a list of users. I am having a problem getting the Dropbox Public LinkI have written a...
22 Dec 2012 by Zoltán Zörgő
As I see, you tried to wrap an application around some existing command line tools and IE. I suggest you look for and use dedicated .net libraries for those tasks.Like these ones: 1) ZIP: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx[^]2) DropBox:...
22 Dec 2012 by BillWoodruff
I can see, by your response to my comment on your question, that you have already figured out the essential aspect of accessing files in your own DropBox, on your own computer.Yes, DropBox files in the Public folder, on your machine, use a hard-coded six-digit ID number; however, shared...
21 Mar 2013 by pmcm
I am working on an application that allows users to browse particular file directories on production servers and I would like to allow the user to be able to add additional menu items whilst using the site, as well as creating a new menu item they should also be able to specify a new file...
21 Mar 2013 by Zoltán Zörgő
Your menu is defined in the code. You probably don't want to allow user to alter code. So change your point of view: you don't need to allow user to add menu items, you need to define and put in place a feature that can populate the menu fully or partially in a dynamic manner. You also need to...
21 Mar 2013 by JitendraSahu
protected void Page_Load(object sender, EventArgs e){ if (User.IsInRole("admin")) { mnu.Items.Add(new MenuItem { Text = "Administer web site", NavigateUrl = "~/admin.aspx" }); }}
28 Jun 2023 by Anurag_Gahrat
In this guide, learn about CSS Glassmorphism, its history, its characteristics, and how to create it, along with examples.
23 Nov 2009 by mingfish
I am seeking the best css menu framework ,can anyone help?
24 Nov 2009 by Christian Graus
Google ? There's tons out there, why do you need ' the best', and not just one of the many out there that will do what you need ?
24 Jul 2012 by jump_ace
Hey guys,I'm building a car database for Forza 4 on the Xbox 360 and I need some help with making the ASP jump menus. I want the menus to act like a filter basically.I want the lists themselves to pull the data from the appropriate column in my sql db.For example, I have a column...
13 May 2013 by anusha tondapu
Hi,In my WebApplication,asp menu control is not rendered in the way it has to in IE8 and IE9.It is getting padded with white space.Sometimes the sub menu options are not getting displayed properly.please help me to fix this issue.Thanks alot.!
11 Dec 2013 by Member 10449421
Question-I am doing some practice on asp menu. Third menu "CONTACT" and "COOKIES" were overlapping with second menu "About". So, I increased width of third menu as width:170px and padding-left:170px. Now, the menu is not overlapping but the background color below "About" (second menu) is over...
10 Dec 2013 by bobb024
Hey Everyone,I am implementing a new image menu and everything is working great with chrome and IE 10, but for browsers lower than that it is not rendering. I have been looking into making it cross compatible but image issues i have not seen much on. The menu is dynamically built each time...
2 Dec 2016 by Member 12859772
Sipariş Ekle ...
2 Dec 2016 by ZurdoDev
I would suggest not trying to use inline code like that. That style is old classic ASP style and I'm not even sure it fully works in ASP.Net. First put runat="server" on your a tag and id="hypSip" so you can access it in C# or use an asp:HyperLink instead. In your Page_Load event in C#...
11 Oct 2013 by ASP.NET Community
It seems to be very common that asp.net menu control is not to be properly displayed in IE8.I have developed a website which contains a master page
26 Jul 2012 by Tejas Vaishnav
ASP.NET menu control not shown properly in Chrome and Safari
23 Oct 2013 by vnem555
My ASP.Net (4.0) Menu Control contains too many submenu items to be displayed at once. There is a default arrow which appears below a partial submenu list. I expected to be able to hover over it or click on it and see the rest of the submenu items. However when I hover on that arrow - all the...
4 Jul 2013 by Puseletso Michelle
Hi thereI want to move my menu controller to the center,any one who can help mehere is my code: html:
4 Jul 2013 by usha C
CssClass="menu" StaticMenuStyle-CssClass="menu" StaticMenuItemStyle-CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal"...
4 Jul 2013 by usha C
Make Comment this id ( .HeaderLogoCell) in Your Css file and move your menu to up or adjus your padding-top size
23 Jun 2022 by Alaren
I have a webforms asp.net website which is using the standard menu control. we have a page that contains a html5 drawing canvas which is for gojs charting. When the menu expands, it seems to appear in front of the canvas itself, but behind any...
23 Jun 2022 by Alaren
Aha, found it, the menu needed to have the postition:relative added to make the z-index work.
31 Aug 2010 by ahawari09
When I change the colors and font size in the style sheet, it does not reflect on the design when I run the web test, despite that I have linked the style sheet after the head. Can you please help? Thanks.
31 Aug 2010 by Ankur\m/
You need to analyze the styles of the element.Download FireBug for Mozilla Firefox. It's an Firefox add-on which helps you analyze the styles, script (and so much more) of a page.Alternatively, if you have IE8, you can use Web-Developer tool to do the same. Press F12 to activate it.Hope...
20 Sep 2018 by Member 13336451
Dear all, I want to use bootstrap menu style in asp.new menu but all my try not work. the menu i want to use is web name...
20 Sep 2018 by alexvw
Hi there, Assuming you do have all required references for Bootstrap 3.3.7 (js and css), as well as JQuery, just like Matias Lopez mentioned; the following code example may offer some help. It depicts a menu with three items, where the last one is a sub-menu. For this particular case,...
26 Apr 2015 by All Time Programming
Hello, In my Web application, In my Site.Master page I have a menu and want to have a horizontal Sub-Menu on click of the menu. Below is my div of navbar.
12 May 2016 by gani7787
Good Morning!...I am using ASP.NET Sitemap httpcntext menu.i am getting flickering problem in that.for exmple, when i click alert message the got flickering. this will be happening all the page.To avoid i tried to add some coede in CSS. but, not working..menu ul...
22 Jan 2015 by bobb024
Hello, I have an aspnet navigation menu and it is flickering when there are a lot of DOM components in the matrix that is on the page. I am very confused on why. The orientation of the menu is horizontal but it will flicker vertically until the full page loads.Any help will be...
1 Jan 2011 by Ashish Kaila
Learn how to leverage UI automation in testing your UI and also to support accessibility features
26 Sep 2010 by Reinhard Ostermeier
This article describes how menus and toolbars in WPF can be automatically merged.
18 Jun 2012 by somy_j88
hello,I want to create a vertical menu to show categories and subcategories.the menu will have three steps, for example Monitor--> LED or LCD --> and then mark of the monitor.I have three tables(Types, Products, sub products). I need the code for this menu.I searched but I couldn't find...
18 Jun 2012 by db7uk
Your best bet is to create your own sitemap provider. There is an sqlSiteMapProvider that can be used in this situation.http://msdn.microsoft.com/en-us/magazine/cc163657.aspx[^]In essence the link above is how to create a sitemap provider by inheriting the base sitemap provider (as you...
11 Aug 2015 by Christian Specht
Building a pseudo-dynamic tree menu with Jekyll
22 Mar 2016 by Member 12267258
Hi i have a syntax error on my c menu script that i cant figure out how to resolveError:./menu.c: line 2: syntax error near unexpected token `(''/menu.c: line 2: `void Menu(void);Code:#include void Menu(void);void Top(void);void Watch(void);void ping(void);void...
21 Mar 2016 by OriginalGriff
You can remove some of the voids:void Menu() { int choice; ...void Top() { int ch; ...But you need the one at the start of the declaration.And you are right not to try and include them when you call the functions: Menu();Is fine.But...If I try your code...
22 Mar 2016 by CPallini
In order to compile it you have to include the proper headers, namely: stdlib.h and unistd.h.
22 Mar 2016 by Jochen Arndt
Usinggcc -Wall -c menu.cthe error shown in your question does not occur. But there are some other errors and warnings. Most of them can be avoided by including additional header files:# include # include # include # include # include...
24 Feb 2013 by niko_tells
hi,i have created an addin. My addin is now under the menupoint "extras". On creating this project i named it "VS_ADDIN"First, i want to change the name of the plugin so that the pluginname under "extras" changes.I have tried it to change it in the connect.cs file.I replaced...
28 Apr 2013 by nidhu2012
Hello All Am new in c# coding.On my project i want to customize frmAdminIndex toolstrip menu (item visibility change) .The frmAdminIndex was cusytomized by using Checkbox placed in frmDashBoard.Both Code attachedCode to Controlnamespace InventoryMnt{ public partial...
28 Apr 2013 by Zoltán Zörgő
The simplest way is to make the control public (far not the best practice however). See: http://msdn.microsoft.com/en-us/library/ms233630.aspx[^], and this image to find the property: http://brwiki.brulescorp.com/images/e/e7/CalendarProperties.JPG[^].The best approach however is to add some...
15 Oct 2012 by Alister007
I want to know there is a way to change the direction in which a menu expands. I have a menu at the bottom of the form and I want it to expand upwards when I click my mouse over an item.
15 Oct 2012 by narutoluffy01
i think it might be possible in WPF only
9 Sep 2012 by Itz.Irshad
How to change the back color of menu item on mouse leave ?Any help in this regard ?
9 Sep 2012 by JF2015
Hi,just subscribe to the MouseLeave event for the desired MenuItem and use this code as an example:private void toolStripMenuItem1_MouseLeave(object sender, EventArgs e){ ((ToolStripMenuItem)sender).BackColor = Color.Red;}
14 Jan 2013 by Ben Matheson
HelloI have a Drop Down List in a web page, what it currently does is displays an individual image that is selected in the list.Please find my code below.What I want to achieve is if a sector is selected such as pubs for example, It will display a group of images of pubs instead of...
19 Jan 2013 by vinodkumarnie
If you want display group of images to shown on selection of dropdownlist you should create images dynamically by assigning related image path.. university
22 Jan 2013 by Ahmad Abd-Elghany
hello , i have a menu control that populated from a database by a stored procedure ,its contains only names , i want when a user click on one of the name , it get the data that associated with that name but without a post back , it get it in an update panel at the middle of the screen .
22 Jan 2013 by Yaseer Arafat
The tag has two childtags - the ContentTemplate and the Triggers tags. The ContentTemplate tag is required, since it holds the content of the panel. The content can be anything that you would normally put on your page, from literal text to web controls. The Triggers tag allows...
2 Jan 2019 by Johannes Grunedal
Hi there!I have a strange behaviour that I can't figure out how to solve.The problem is that I would like to click 'File' menu button in Lightroom (in Notepad it works fine) but the Expand-pattern is throwing an exception although the 'File' button in fact do support the ExpandCollapse...
2 Jan 2019 by Member 3385671
How to use: ElementWindows ew = new ElementWindows("My Window's Title"); ew.SelectMenu("My Main Menu Title", "My Menu Item"); In a specific Class: private static void SelectMenu(AutomationElement rootElement, string Menu, string value) { AutomationElement...
3 Sep 2015 by RobertM
I have an application written in VS 2013, with some toolbars and a main menu. The menu is derived from a CMFCMenuBar and the toolbars are derived from CMFCToolBar. The menu is partly defined from the resource file and partly by dynamically added entries due to loaded drivers etc.I want the...
4 Sep 2015 by RobertM
I can't show my entire code base as it is sort of big (and people might get kind of annoyed if I published it), but here is the menu class and the references to the menu object in the main frame. The menu is implicitly created in the main frame.I could solve the problem if the...
11 Sep 2012 by Itz.Irshad
What are the back colors of Tool Strip Menu Item in below states:Initial StateOn Mouser OverOn ClickPlease mention color names.Thanks
26 Jun 2011 by Ray_Liang
In this article, I will show you how to build a component model for ASP.NET MVC3 with Builder and Factory design patterns. You could use this model to write your strongly type components to binding data, handling harchical objects and write jQuery UI controls / HTML5 controls for ASP.NET MVC3.
8 Sep 2013 by cawboy_iran
hi i customized my master page and hide quicklunch menu.then move div with id (MSO_ContentTable) to left page.after this changes, Any time i clicks on the dropdown arrow to open the context menu of any item, it shown in incomplete width. it mean half of this menu appear out of main...
1 Apr 2014 by CodingLover
I want to pop-up a context menu strip attached with a notification icon in the system tray for both left and right mouse click. Right click of the mouse on the icon works fine.Issue I have with the left click. I did the following to achieve that.void notificationIcon_MouseClick(object...
5 Apr 2014 by CHill60
I had a bit of a play with this and came up with the following idea...On your notificationIcon, do not set the ContextMenuStrip property (i.e. you won't get the default behaviour)Then try putting the code to show your context menu in the MouseUp event on the notificationIcon. For example...
24 Jan 2014 by pooja work
Step:(1) Create ATL Project(2) Right Click on ATL Project, Added COM Control(3) Added Context Menu Manganer Event 1. CMenu 2. SetMenuItemInfo -- Inserted Transperant Png for each Menu ItemProblem:Transperant Png is appearing with black background in XP, it should be...
30 Nov 2012 by Member 9646630
Create a Position application in VB that changes the position of text in a label according to the command selected by the user. The application should include a Program menuwith an Exit command and a Position menu with TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight,...
30 Nov 2012 by Member 9646630
http://fantasyaspnet.blogspot.in/2012/11/create-position-application-in-vb-that.html[^]
1 Jul 2016 by senthill
This tip will teach you how to create custom top navigation menu using custom list and user controls in SharePoint 2013.
9 Jul 2013 by manoj s sherje
dynamic.csstring[] smenu = new string[5]; string []parentMenu =new string [5]; StringBuilder sb = new StringBuilder(); ...
9 Jul 2013 by Nirav Prabtani
try this...:)Dynamically populating menu items from the database in ASP.NET[^]
21 Nov 2020 by maniacdancer
I'm trying to create a simple menu interface for my newly created program. After the user chooses option 2, how do I save his/her's name and include a return option to the main menu? After that, how can I include the name in the main program? The...
21 Nov 2020 by k5054
create a variable and then scanf into it eg int main() { char name[30] = ""; /* menu stuff ... */ case 2: printf("Enter name"); scanf("%s", name); break; /* etc */ } But be aware that scanf("%s",...
21 Nov 2020 by Rick York
You need to organize your code into functions instead of having one big pile in main(). The initial main menu code should be in a function called that - InitialMenu or MainMenu or something like that. Then it generates questions, prints a...
23 Apr 2013 by jbottiger2367
I just started with a new company, and my first task/assignment is to design a customized application in Windows 7 that starts up when I start Windows 7. The application is to contain an icon (which I created in VS 2008) such that when I click on it, a context menu displays with at least three...
23 Apr 2013 by Richard MacCutchan
Given what you say about your experience I would be surprised if you could get this finished this week. However, take a look at Code Snippet Manager[^] which I wrote a while back. There is a section in there about sitting on the system tray and showing a context menu, which may help you.
5 Feb 2010 by adi007me
This is an example of how to create simple Menus in HTML using jQuery.
26 Jul 2010 by busbyam
Although this tip will work, I certainly would not recommend using it as base for more code, it is pretty inefficient and quite brittle There are lots of really great jquery plugins that will automate all this for you.If you really want to do this yourself, here a quick snippet that I...
11 Oct 2013 by ASP.NET Community
Basic Hard Coded Cascading MenusTechnically your menus won't need javascript to be utilized. Just some basic CSS that will help with everything and
8 Jul 2013 by aravindnass
heyy.. I try a menu bar in this link :- http://www.cssportal.com/css3-menu-generator/[^]In this menu have only parent menu .. I want to add a child menu and it display in side..I tried but failed get the child menu on sidehere is my code ;-
8 Jul 2013 by maneavnash
try this code #coolMenu,#coolMenu ul { list-style: none;}#coolMenu { float: left;}#coolMenu > li { float: left;}#coolMenu li a { display: block; height: 2em; line-height: 2em; padding: 0 1.5em; text-decoration: none;}#coolMenu ul { position:...
7 Sep 2014 by SajanJacob
Hi,I am working on an existing website to fix the menu problem. The website is this http://vipeduc.net/mgt/index.php[^]The problem is, when we are using firefox, the menu goes behind the content.I tried lot, But I can't. Can anybody please help me to find what is the problem behind...
8 Sep 2014 by MariwanIT
try to set margin left and right to auto.
7 Feb 2016 by fftorettol
I have a problem with some html object on my mobile view of menu. My menu change, depents on device's screen resolution. I'm using media query. That's my site: goo.gl/TDmP4q . And when you visit my site with a computer: http://i.imgur.com/epPUSCi.png[^] ; And and with a smart phone, tablet, tv.....
8 Dec 2010 by alejandr04321
I have a simple question, How can I customize a Menu Strip on C#? VS gives you some customize options, but not too many. I would like to change the menu border color, and the color of the selected item in the menu. I leave you here an example. I would like to do this in c#, but this is...
8 Dec 2010 by #realJSOP
First (and you may have noticed already), you can't post images in Q/A. Second, take the code in the cited article, and convert it to C#. There are plenty of free online converters available - google is your friend. You might even learn something in the process.
8 Dec 2010 by chip.hyt.chip
come here to convert VB--> C#:http://c.thuvienit.com/vb-to-csharp.aspx
2 May 2011 by mcarmonar83
Hey man, this article includes the DLL's of the solution, add them as a reference in your project and add them too in Visual Studio's ToolBox (Control Box), them add the control, add a menu strip and the appearance control and select a Preset or customize color, then in the control in the...
24 Jul 2012 by cognismith
Hello all,I am currently attempting to implement a custom menu strip, which instead of drawing it's menu items with a tendency to be underneath the menu heading, instead prefers to draw them directly aboveeg instead of_________________ |menuitem|----|---------|-- | item 1 ...