Questions tagged [menustrip]

This tag can be used in questions involving usage of MenuStrip class from Windows Forms (a GUI class library in the Microsoft .NET Framework).

255 questions
0
votes
1 answer

Exception Localizing MenuStrip Control

I have a MenuStrip control with all translations entered for several languages. When I try to change the culture dynamically all controls are changing the language as it must be except the MenuStrip. Here is the code which I used specifically for…
0
votes
1 answer

MenuStrip not updating when editing it from another form (C#)

I've been having an issue that's been bugging me for the past 3-4 hours. Basically, I have a main form, that is an MDI parent. I have another form, that is an MDI child of that parent. I use the second form for logging in and after I've been logged…
0
votes
1 answer

Creating a menustrip in WinAPI?

Is there a way to get a menustrip instead of an HMENU when using the WinAPI? Like menus that .Net applications use? Because the HMENU just doesn't fit my color scheme, I need a darker menu. Thanks
jmasterx
  • 52,639
  • 96
  • 311
  • 557
0
votes
2 answers

Form in a form behind my menu strip

I created a Form with menu strip. When I click on a menu item I want to open a new From in my main From. It works but a part of the form is behind the menu like this : my code : WindowDossierProtection wdPr = new…
mosflex
  • 171
  • 1
  • 2
  • 14
0
votes
1 answer

How to add Ellipsis to MenuStrip Item Text

When using a MenuStrip, it's good to have the items and subitems have a certain width and that width should not change. Supposing the width does change to a great length, rather than changing the whole size of the MenuStrip Item to fit the text…
Zer0
  • 1,002
  • 1
  • 19
  • 40
0
votes
1 answer

How to access to a subitem of a MenuStrip

I have a MenuStrip which have 3 items. The second item, has 7 items (10 if separators are considered items). The point is, I want to access to the item number 7 (again, item number 10 if separators are considered items) so I do…
Drumnbass
  • 867
  • 1
  • 14
  • 35
0
votes
3 answers

how to loop all submenu items in a menu strip level

I've been trying for weeks on how to loop all the items in my SubMenu on the MenuStrip. My problem is if I add a new SubMenu is I have to input a code to loop it again to control my items. Basically I am looping my SubMenu just to control my items.…
Mandz
  • 195
  • 2
  • 17
0
votes
3 answers

DataGridView is hidden behind MenuStrip

I'm displaying a DataGridView object in the application, but a part of it is hidden behind a MenuStrip (in the same application) which is at the top of the screen. I don't know if that matters but the MenuStrip is created with the Visual Studio…
user3705007
  • 265
  • 4
  • 12
0
votes
0 answers

VB.Net Menu strip hover

I have these menu in my form but when I hover on the disabled item and continue to the next enabled item, sub menus stop from showing...Is this the new default behavior of vb.net? Because in vb6 sub menus will still continue to show. Please…
illumi
  • 458
  • 1
  • 14
  • 32
0
votes
2 answers

Activating something from a menu strip doesn't work

I have a button on Form1 that starts disabled by default. I have a ConfigureForm, where I have a menu strip, with an option to enable the button in Form1. So my code is: private void Portal2HammerButtonEnable_Click(object sender, EventArgs e) …
0
votes
0 answers

How to open a frame in the same page c# with a global MenuStrip?

I am trying to create an small application. I want to use MenuStrip as a global menu "menu over all the subforms." However, when I click on an item of the MenuStrip I want to open up a different form "page" in the same main form. I am currently…
Jaylen
  • 39,043
  • 40
  • 128
  • 221
0
votes
0 answers

Java - Howto create a module menu strip or navigation bar

I notice all my forms share the same menu strip with same menu items.. I want to create just one menu strip which can be imported into all my forms, so if I need to change/add/delete any items on that menu strip, I only need to do it once, rather…
tyler.durden
  • 83
  • 1
  • 10
0
votes
1 answer

Disable few menus upon opening when item is selected in listbox

I want to disable few item in a contextmenu or menustrip when an item in listbox is selected, I manage to do it in a listview control but I can't convert it to listbox, there is no ListItem in listbox control, can i do it using this code, or perhaps…
mercenary
  • 69
  • 2
  • 11
0
votes
1 answer

Display four images in four picture box in one time

I want to show four image in four picture box at a same time using (open file dialog and menu strip) in c#, I used this code to print picture but not correct private void fileToolStripMenuItem_Click(object sender, EventArgs e) { …
user3226824
  • 47
  • 1
  • 6
0
votes
1 answer

Grey out menustrip items when certain forms are open/active/focused

On my parent form i have a menustrip. I disabled (Enabled=false) some options by default. However i cannot access the menu from the child where i need to enable these items. I tried a lot of variations like this in the child form…
Madmenyo
  • 8,389
  • 7
  • 52
  • 99