473,410 Members | 1,916 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,410 software developers and data experts.

MouseEnter / Mouse Leave

Hi,

I use a certain control's MouseEnter and MouseLeave events to make this
control appear highlighted. The control also has a context menu, but when
the control is right-clicked and the context menu appears, the control is no
longer highlighted. This is of course because the MouseLeave event runs when
the context menu appears. I've tried telling the control to highlight in the
context menu's popup event, but popup runs before MouseLeave. Does anyone
know how I can get the control to remain highlighted while the context menu
is shown?

Thanks,
Nathan
Nov 21 '05 #1
0 1075

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

Similar topics

0
by: Tim Mulholland | last post by:
I have written some code that causes mouseover effects on a picture box. The code works fine most of the time and creates some really nice effects. HOWEVER, If i try, i can get the effects to...
3
by: Tim Mulholland | last post by:
i posted this a while ago and never got a response, but i'm still having problems, so i thought i'd see if anyone had any sudden realizations this time Thanks in advance! Tim I have...
1
by: SeaNICK | last post by:
I am trying to figure out how to use MouseEnter or MouseLeave events, and be able to use the EventArgs to determine where the mouse cursor is. To my great confusion, the MouseEnter and MouseLeave...
4
by: Arif | last post by:
how to display combobox contents(the same function that occurs when Mouse is pressed on a combobox but) on MouseEnter/MouseHover events? arif.
3
by: M O J O | last post by:
Hi, I have a panel on my form. I want to detect when the user enters my panel with his mouse and when he leaves my panel. If the user hovers a control inside my panel, I get the mouseleave,...
1
by: Michelangelo | last post by:
Hello, I have a form. On the form is a button. When I move the cursor onto the button, exactly on the edge (most outer pixel of the button), I get a continuous stream of MouseEnter and...
7
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
I need to programmatically add an invisible control to my form that will enable me to trigger MouseEnter and MouseLeave code relative to the control area. Is this possible to add the control and...
4
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I've a MouseEnter event on a dataGrid, and I want to know, if the mouse entered column no. 0 or column no. 1 . How can it be done? Thanks, Gidi.
2
by: babai28 | last post by:
Hi, I have an owned form and a panel in a main window. I want to run certain code on the mouse leave event of both of them. To be precise: panel1.Visible=false; on the mouse leave event of...
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
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...
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...
0
agi2029
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,...
0
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...

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.