473,405 Members | 2,272 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,405 software developers and data experts.

MouseHover

I am working on the component and would like to change a display when the
user stops moving the mouse inside the control. I used the MouseHover and
MouseMove to change the status, but the MouseHover does not fire again
unless the mouse is moved outside the control. Is there a something I am
missing or Is there a better way to do this.
Thanks for any help
Nov 17 '05 #1
1 5692

"Phenix Smith" <ph****@sc.rr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I am working on the component and would like to change a display when the
user stops moving the mouse inside the control. I used the MouseHover and
MouseMove to change the status, but the MouseHover does not fire again
unless the mouse is moved outside the control. Is there a something I am
missing or Is there a better way to do this.
Thanks for any help


You could try to catch the MouseMove event, set a flag that states that the
mouse is "moving" over the control. Set a timer, (use timer control), once
time has elapsed change the display if the mouse' coordinates are inside the
control's area. If the MouseMove event fires again, restart the timer. May
not need MouseHover at all :)

Hope this helps.

Mythran

Nov 17 '05 #2

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

Similar topics

0
by: JJay | last post by:
My application is written in C# and has several dialog Windows Forms. All button objects on all forms are using FlatStyle=Flat. I have background colors on each button and tool-tips describing...
0
by: jaxCtiDev | last post by:
My application is written in C# and has several dialog Windows Forms. All button objects on all forms are using FlatStyle=Flat. I have background colors on each button and tool-tips describing...
1
by: Sheriff | last post by:
Receiving a single mouseHover is simple, just move the mouse over my control and wait. However, following this mouse hover event, if I move the mouse around within the control and once again wait,...
0
by: Phenix Smith | last post by:
I am working on the component and would like to change a display when the user stops moving the mouse inside the control. I used the MouseHover and MouseMove to change the status, but the...
2
by: melanieab | last post by:
Hi, How can you determine which cell the mouse is positioned over during the mousehover event? Thanks so much! Mel
1
by: melanieab | last post by:
Hi, I've used the MouseHover event in my datagrid and have almost everything the way I want it - but I've realized that the MouseHover event won't go unless the mouse leaves the datagrid. But I...
4
by: Ronald S. Cook | last post by:
I have a label on a Windows form. I have the following code which doesn't work when I mouse over the label. Any idea why? If I change MouseHover to MouseEnter it works. So, what good is...
3
by: Marc | last post by:
Hi, I create buttons dynamically at runtime in my application. I want to open a messgae box when the user hovers over a button.how can i do this? i need something like the below(which doesnt...
12
by: Marc | last post by:
Hi, How can i increase the mousehover event timer? AddHandler NewBtn.MouseHover, AddressOf Shownotes Private Sub Shownotes(ByVal sender As System.Object, ByVal e As System.EventArgs)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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,...
0
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...
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
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...

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.