Mouse Hover in NotifyIcon

Posted on 2003-03-22
Medium Priority
Last Modified: 2012-06-22
There is no mouse hover event exposed in NotifyIcon class, how do i implement it? Thanks in advance.
Question by:shk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Expert Comment

ID: 8196921
Surely mousemove captures this event.

Author Comment

ID: 8200903
yes, i tried mousemove before. i try to show a messagebox in mousemove event but when my mouse pointer over the notify icon more than 10 messagebox appear suddenly, i dunno why this happend but this is not what i want. it should only show one messagebox, am i right?
LVL 10

Expert Comment

ID: 8201664
Are you trying to display a tooltip ??

if you are trying to do something other than this, just set a flag within the code indicating that the mouse has already 'moved' within the area, then when it happens again, just ignore it.

Accepted Solution

milkme123 earned 200 total points
ID: 8215539
If it's just a tool-tip you're trying to display, set the .Text property to a string no more than 63 chars long.
For example: this.notifyIcon1.Text = "This will show when this icon is hovered over";


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question