This tag can be used in questions involving usage of MenuStrip class from Windows Forms (a GUI class library in the Microsoft .NET Framework).
Questions tagged [menustrip]
255 questions
5
votes
1 answer
Tab Context Menu for WeifenLuo.WinFormsUI.Docking
I'm using the "WeifenLuo.WinFormsUI.Docking" control.
I need to show a context menu by clicking on a document tab.
At the moment I just can show a context menu at the document itself or for the menustrip - but I didn't found a way to bind a menu to…

Marco
- 543
- 3
- 9
- 21
5
votes
1 answer
How to Add Sub Items to a MenuStrip's ToolStripMenuItem in C#
I have added a menustrip1 into my windows form and I statically added one toolstripmenuitem (WindowstoolStripmenuItem) to that menustrip1.
And I have created a toolstripmenuitem dynamically. I want to add this dynamic toolstripmenuitem to the static…

Learner
- 1,286
- 6
- 34
- 57
5
votes
2 answers
How to change the appearance of a MenuStrip
I add a MenuStrip in my app and is add on ManagerRenderMode at Render Mode. The problem is with the appearance, look offal. Look at those two photos, I want to change that white border of submenus in transparent, that blue rectangule that look offal…

AnDr3yy
- 239
- 2
- 5
- 16
4
votes
1 answer
MenuStrip shortcut key spacing
Is there a simple way to increase the spacing between the menu item text and its shortcut key in a WinForms MenuStrip? As seen below, even the default template generated by VS looks bad, with the text "Print Preview" extending beyond the shortcut…

casablanca
- 69,683
- 7
- 133
- 150
4
votes
2 answers
Positioning of shortcut key of ToolStripMenu item properly
In WinForms, i have listed toolstripmenu items as below:
We can see that the list of shortcut key is not properly indented.
I have searched for the solution and found to use spaces but I have tried that and it didn't work properly.
So, is it…

Topman
- 306
- 1
- 4
- 14
4
votes
2 answers
Using a Windows 7 style menustrip in Windows Forms
Possible Duplicate:
Standard Windows menu bars in Windows Forms
I am using windows forms and when I use a MenuStrip item, I get something that looks like this:
http://imgkk.com/i/ggn1.png
Is it possible to use menu strips like the ones the system…

Nilbert
- 1,112
- 3
- 14
- 26
4
votes
3 answers
Closing a MenuStrip programmatically
I have a MenuStrip that I have added to a form, and in one of the dropdown menus in it, I have a text box. When I hit enter on the textbox, I want a function to run, then the drop down menu to close. I know how to get the enter part done, but I have…

Nilbert
- 1,112
- 3
- 14
- 26
4
votes
1 answer
c# toolstrip doesn't dock under menustrip
I have a menustrip that I create using the forms designer. I then want to programmatically add a toolstrip toolbar UNDER the menustrip. The reason is that this toolbar is a set of tools that I add as a plugin to the main application. As such, when…

Carlo M.
- 331
- 1
- 3
- 12
4
votes
1 answer
MenuStrip not hiding after an item is clicked. Bug?
I'm experiencing some really weird behavior with MenuStrip:
Create a new WinForms project (.net 4.0. C# or VB.NET doesn't matter; I used C#).
Drop a MenuStrip on the default form. Right-click and choose Insert Standard Items to quickly build it for…

dotNET
- 33,414
- 24
- 162
- 251
4
votes
1 answer
Getting the Left and Right arrow keys to select the previous/next menu instead of the next/previous menu
Noticed in a full application, but fully reproducable in a simple demo:
I've got a MenuStrip containing three menus, A, B, and C. Each of these menus contains three items, A1/A2/.../C2/C3.
When I press Alt, the first menu A becomes selected. I can…
user743382
4
votes
5 answers
"Red Cross" problem on MenuStrip and ToolStrip
I have a piece of software that has worked fine on many machines, althoughon one machine there is a problem that appears to occur occasionaly, the MenuStrip and the ToolStrip both appear as a blank white background with a red cross over it, as a…

Lloyd Powell
- 18,270
- 17
- 87
- 123
3
votes
1 answer
Add ToolMenuStripItem to MenuStrip at specific item?
I am using WinForms, i have tried TreeView and it almost have similar structure to the MenuStrip, only one thing i can't figure out is how to insert a ToolStripMenuItem as a sub item. Is there anyway maybe like:
//There is no Items.Add() after you…

yahya kh
- 751
- 3
- 11
- 23
3
votes
1 answer
How do I fire a mouse click on a C# MenuStrip when a form become activated/focused?
Possible Duplicate:
Click lost on focusing form
If a form with a MenuStrip is not the window that has focus and you click on the MenuStrip, it uses that first click to make the window active, and then you have to click the MenuStrip again to get…

Ryan R
- 167
- 7
3
votes
1 answer
How to get checked ToolStripMenuItem?
I am using a MenuStrip with two main ToolStripMenuItems, each one of those has its "dropdown" with more ToolStripMenuItems that have the CheckOnClick property set to true.
Now I am trying to retrieve the selected item, I know bool…

nitrkli
- 369
- 1
- 4
- 7
3
votes
3 answers
How can we highlight active menu-item on clicking menu strip item?
I am working on a desktop application in C# WinForms. I have used menustrip to navigate between different panels. The problem which I am facing is I cannot highlight the active color of the menustrip icon. A pictorial description will
explain…

Ezaz
- 183
- 1
- 11