473,545 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.Net 2.0 Menu strip control-Common sence.

3 New Member
Hi

I dont know whether I am doing something wrong here. But this is very strange thing I have noted with menu strip control. I am using VB 2005.

I am using a menu strip control as the main menu for my MDI application. The issue is i have some of my sub menus getting enabled when its parent menu item is disabled. This happens especially when I open and point to a menu item that has sub items and then pointing it back to a menu item which have sub items in the same level.

Eg:

I have item 1 with sub menu items 1.1 and 1.2 and another menu item 2 in the same level of item 1 with sub menus 2.1 and 2.2. Lets say item 1 is disabled and I am pointing my mouse pointer to item 2 and the sib items gets popped out, without pointing to the sub items that poped out I am moving my mouse to point item 1, there the item 1 also pops out with its sub items 1.1 and 1.2 enabled.

I am right now explicitly disabling items under a disabled menu item, which involves lot of overhead.

Post your comments.
Jul 24 '07 #1
0 1038

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2072
by: Brian Henry | last post by:
I thought this was useful, its a extender i just wrote for the new .NET menu strip and status strip to extend the menu items to add a status message so when a mouse rolls over the item it displays the text on the status strip lable specified for the extender.. all you have to do is copy this to a code file, and add it as a control to your...
6
6850
by: TyBreaker | last post by:
What is the best way to create a menu bar like the Office menu bar ie one that can dock to the four corners of the screen? Is it a standard windows form or is it some other more specialised control? -- ______ ___ __ /_ __/_ __/ _ )_______ ___ _/ /_____ ____ / / / // / _ / __/ -_) _ `/ '_/ -_) __/ /_/ \_, /____/_/ ...
0
1816
by: steffen_home_92 | last post by:
hi ng, I actually want to program an application whose main window contains a menu strip and a tree view control. In the main menu there are items I want to use for a context menu strip in the tree view but if I add a menu item from the main menu strip to a context menu it disappears from the main menu. Additionaly there's no (!)...
2
11668
by: Lucky | last post by:
hi guys, i'm working on the context menu for the controls. the problem i'm facing right now is like this : i want to use one context menu for more then one controls lets say i want to use one context menu for 3 treeview controls as 3 of them shares same type of menu. what i'm not able to do is, i can not idetify which control has invoke the...
3
7402
by: SteveMac | last post by:
I am using VS2003 VC++ .NET. I want to make a tray icon with a popup menu (like a context menu) that pops up for a left click. I can make the notifyicon with a context menu and that works fine, but I really want it to show the menu for a left click, exactly as it would for a right click. SteveMac
17
2333
by: GS | last post by:
the main menu in the application seemed to disappeared all together until I click on an control and select mainmenu1 in designer. then the mainmenu1 displays where it should be but running it or deselecting the mainmenu1, the menu disappears again. what can I do. to fix the problem
1
1862
by: miquals | last post by:
I'm new to VB but not programming. Using VB Express you can create a "standard menu strip", but I can't find an example of using it anywhere. Do you know of any examples? To create a "standard menu strip", with the normal items such as FILE, EDIT, SAVE, etc, first add a MenuStrip to a form. Then riqht click and select "Insert Standard...
0
1529
by: Patel | last post by:
Hi All, I am doing one INTERESTING work with Context Menu Strip. I am trying to insert a custom control / .Net control in Context menu as a context menu strip. I tried inserting MonthCalender in Context Menu as a context menu strip, it worked. Now, i tried same with Windows Media Player ( a control available in C#.Net). But I'm not able to...
0
1077
by: Bruce | last post by:
My parent from has a menu strip. I placed a control within the window: History hist = new History(); hist.Parent = this.; hist.Visible = true; Everything goes fine except the top of the History control is being hidden by the menu strip. What am I doing wrong?
0
1105
by: Academia | last post by:
Here's the scenario: A form contains two user controls. Each user control has its own context menu and the form has a main menu. I use the older menu controls and each user control has a property that passes a reference to its context menu to the form which mergers them to its main menu. So the result is that each user control shows its...
0
7502
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7434
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7791
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1045
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.