Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Mouse Hover in NotifyIcon

Posted on 2003-03-22
6
Medium Priority
?
1,025 Views
Last Modified: 2012-06-22
There is no mouse hover event exposed in NotifyIcon class, how do i implement it? Thanks in advance.
0
Comment
Question by:shk
  • 2
4 Comments
 
LVL 10

Expert Comment

by:smegghead
ID: 8196921
Surely mousemove captures this event.
0
 

Author Comment

by:shk
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?
0
 
LVL 10

Expert Comment

by:smegghead
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.
0
 

Accepted Solution

by:
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";

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

578 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