|
by: Norvin Laudon |
last post by:
Hi,
I have a context menu, which is used for each of 6 labels on my form. That
is, right-clicking any of the labels will bring up the same context menu.
Once the user clicks the menu, the clicked MenuItem fires an event:
menuItem1_Click(object sender, System.EventArgs e)
How can tell which of the 6 labels the menu is being clicked over?
|
by: Ignacio X. Domínguez |
last post by:
Hi everyone. Hope you can help me out on this one.
I'm developing a Component which has a property ContextMenu. This component,
when placed on a form with a working ContextMenu (events assigned to
elements and proven to work with labels) displays an icon in the
notification area by calling ShellNotifyIcon() (don't want to use NotifyIcon...
|
by: Glen |
last post by:
Can anyone tell me if there is a workable method to get the mouse cursor
position on the screen or the NotifyIcon position? I need to display a
context menu for the NotifyIcon when clicked and I'd like it to display
based on the relative position of the tray icon or mouse pointer if
possible (whichever method works).
Any help would be much...
|
by: Ilann |
last post by:
I have a simple question about ContextMenu and MenuItem,
when I attach a ContextMenu to a control in the designer and I right click
during execution I can select options with arrow keys but when I use the
show Method of a ContextMenu I cannot select an option in the menu by
pressing arrow keys,
how could I implement this?
Thanks
|
by: Claire |
last post by:
Sorry Ive added this twice (sortof) but if I'd added an addendum to the
first one then this would probably have been ignored.
This problem affects a ContextMenu attached to a NotifyIcon object. I don't
get the problem with context menus attached to list boxes etc.
Ive also seen a noticeable slow down in speed when the menu attempts to hide...
|
|
by: Eric Sabine |
last post by:
Basically, the following code creates a menuItem array and tries to use it
twice. In the following piece of code, only the line that appears second
gets used. The first becomes ignored presumably when the second is run.
Me.mnuFile.MenuItems.AddRange(myMenu)
Me.ContextMenu1.MenuItems.AddRange(myMenu)
Below I've included just enough code...
|
by: ZH |
last post by:
Hi There,
I have an application that runs from the systray. When the user right
clicks on the icon it shows the user a list of of menu items. That works
without a problem.
The problem is that the only event I've been able to fire for a MenuItem is
the CLICK event. I 've been unable to get the or Popup events to
fire. I've tried...
|
by: Sharon |
last post by:
I have a Forms.ContextMenu with some Forms.MenuItem that has EventHandler for
the Click event.
The event handler function has the following signature:
private void OnMenuItemClick(object sender, System.EventArgs e)
I can not figure out how can the System.EventArgs e be helpful to me.
Can I get from the System.EventArgs e the Point...
|
by: Trevor Benedict R |
last post by:
Hi,
Does anybody have a workaround for this problem
http://support.microsoft.com/kb/827043
What I am trying to achieve is to to display an Icon in the System Tray and
on the right click event, I want to display a Menu with Icons.
Thanks & Regards,
Trevor Benedict
|
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...
|
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...
|
|
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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|