473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ContextMenuStrip .Net framework 2.0

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.
3) Place a NotifyIcon on the form, set it's Icon property and set the
ContextMenu property to the ContextMenuStrip.

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 7381
Please post .NET beta product questions to the whidbey groups.
Microsoft.Public is for released product questions.

Willy.

"Jake" <Ja**@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.com...
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.
3) Place a NotifyIcon on the form, set it's Icon property and set the
ContextMenu property to the ContextMenuStrip.

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
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...
1
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...
7
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
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...
0
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...
1
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...
1
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...
9
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...
2
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"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.