473,626 Members | 3,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ContextMenuStri p .Net framework 2.0

I'm having a problem with the ContextMenuStri p object when using it on a
NotifyIcon while the taskbar is at the top of the screen.

Problem:
The context menu will draw above the top of the screen. This makes it so you
cannot see/select any options except for maybe the last one.

Steps to reproduce:
1) Start a new C# 2.0 Windows Application.
2) Place a ContextMenuStri p onto the form and add a few items to it.
3) Place a NotifyIcon on the form, set it's Icon property and set the
ContextMenu property to the ContextMenuStri p.

Before running, move your taskbar to the top of the screen.

When you run, right click on the icon in the systray and the context menu
should draw above the top of the screen.

Can anyone reproduce this and/or does anyone know how to fix this. Thank you
for your time.
Nov 16 '05 #1
1 7408
Please post .NET beta product questions to the whidbey groups.
Microsoft.Publi c is for released product questions.

Willy.

"Jake" <Ja**@discussio ns.microsoft.co m> wrote in message
news:8A******** *************** ***********@mic rosoft.com...
I'm having a problem with the ContextMenuStri p object when using it on a
NotifyIcon while the taskbar is at the top of the screen.

Problem:
The context menu will draw above the top of the screen. This makes it so
you
cannot see/select any options except for maybe the last one.

Steps to reproduce:
1) Start a new C# 2.0 Windows Application.
2) Place a ContextMenuStri p onto the form and add a few items to it.
3) Place a NotifyIcon on the form, set it's Icon property and set the
ContextMenu property to the ContextMenuStri p.

Before running, move your taskbar to the top of the screen.

When you run, right click on the icon in the systray and the context menu
should draw above the top of the screen.

Can anyone reproduce this and/or does anyone know how to fix this. Thank
you
for your time.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
314
by: Jake | last post by:
I'm having a problem with the ContextMenuStrip object when using it on a NotifyIcon while the taskbar is at the top of the screen. Problem: The context menu will draw above the top of the screen. This makes it so you cannot see/select any options except for maybe the last one. Steps to reproduce: 1) Start a new C# 2.0 Windows Application. 2) Place a ContextMenuStrip onto the form and add a few items to it.
1
2572
by: Ron M. Newman | last post by:
I have a context menu strip. I can Add elements to its "Items", but there is nothing in there to add a sub context menu strip. Menu Item 1 Item 2 Sub Item 1 <-- impossible to add! How do I achieve that? There seems no API's to do that and the internet is simply "empty" when it comes to that. All newsgroups questions are
7
7586
by: Dave | last post by:
How do I get my ContextMenuStrip to receive key down preview events? I have the event hooked but I don't see the key strokes in the event? Dave
5
15473
by: =?Utf-8?B?cHJvZ2dlcg==?= | last post by:
I've written an application that can minimize to the tray and can reappear if you double click on the icon in the tray (ShowInTaskbar is set to false). I've also created a ContextMenuStrip (Visual C# 2005) so that you can write click on the icon in the tray for options. I then captured the event for mouse clicks on the Notify Icon so that I could detect the left click event and then display the contextmenustrip using either:...
0
1708
by: active | last post by:
For the last 3 or 4 days I've been, on an off, searching the Internet and theVS2005 Doc for an example of how to add a contextmenustrip to a menustrip. I can move all the items from a contentmenustrip to a menustrip, but what I need to do is have the items in both places. I did see where it was said that a contexmenu can be used in multiple places. But I wonder if that means that multiple controls can reference the same contextmenustrip....
1
2257
by: =?Utf-8?B?QnJhZA==?= | last post by:
i have a menu system that is generated dynamically everything works good except for one minor astetic.... I click on a menu item that displays a ContextMenuStrip Popup Menu If an item on that ContextMenuStrip calls another ContextMenuStrip, i want the original ContextMenuStrip to stay visible until a choice is made on the second ContextMenuStrip.
1
5933
by: =?Utf-8?B?TGVudXNpYQ==?= | last post by:
In my program I dynamically create treeViews and dynamically add nodes to them. To each node I attach ContextMenuStrip which suppose allow delete selected node e.t.c. How from inside click event handling function to find which node was selected? sender is set to ToolStripItem clicked.
9
2384
by: =?Utf-8?B?Z2luYWNyZXNzZQ==?= | last post by:
Hi, I have a form (Form1) with a ContextMenuStrip (ContextMenuStrip1). If I pass Form1 to a Utility Sub with the following code: Public Sub Utility(theForm as Object) with theForm For Each MenuItem As ToolStripMenuItem In .ContextMenuStrip1.Items If LCase(Strings.Left(MenuItem.Name, 8)) = LCase("tsmAudit") Then MenuItem.Enabled = False End If
2
3429
by: eBob.com | last post by:
I've been working on an app which has an array of RichTextBoxes. And I have a context menu for the RTBs. The context menu has two levels; the first level has two items, "Load Sample Text File" and "Insert Row >"; the "Insert Row >" item on the first level invokes, if that's the right word, a second level which has two items, "Above" and "Below". This all worked when it was a ContextMenu. But I am trying to change it to use the new menu...
0
8268
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8202
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8641
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8366
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8510
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4093
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2628
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
1812
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.