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

NotifyIcon MouseOver?

There doesn't seem to be a mouseover event for the notifyicon, but I
want to fire an event that shows the user an updated status message on
mouseover...sort of like hovering over the network icon shows bytes
sent & received. Anyone know how to pull this off?

Thanks!
Nov 21 '05 #1
2 3906
It's as simple as changing the text on the NotifyIcon since it's just a
tooltip. Just update it to whatever you need.

Put this in a timer event to see for yourself.
--------------------------------------------------
NotifyIcon.Text = Now.TimeOfDay.ToString

"Erik Cole" <er*******@hotmail.com> wrote in message
news:20*************************@posting.google.co m...
There doesn't seem to be a mouseover event for the notifyicon, but I
want to fire an event that shows the user an updated status message on
mouseover...sort of like hovering over the network icon shows bytes
sent & received. Anyone know how to pull this off?

Thanks!

Nov 21 '05 #2
But what I'm getting at is I need to know when the user hovers over
the icon so I can have the program query a database for the current
status instead of doing it on a timed interval. Possible?

"Think_Fast" <nospam@haha> wrote in message news:<10*************@corp.supernews.com>...
It's as simple as changing the text on the NotifyIcon since it's just a
tooltip. Just update it to whatever you need.

Put this in a timer event to see for yourself.
--------------------------------------------------
NotifyIcon.Text = Now.TimeOfDay.ToString

"Erik Cole" <er*******@hotmail.com> wrote in message
news:20*************************@posting.google.co m...
There doesn't seem to be a mouseover event for the notifyicon, but I
want to fire an event that shows the user an updated status message on
mouseover...sort of like hovering over the network icon shows bytes
sent & received. Anyone know how to pull this off?

Thanks!

Nov 21 '05 #3

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

Similar topics

5
by: Phil Galey | last post by:
VB.NET 2002 on Windows 2000 SP 3 When I start my program, the NotifyIcon appears in the tray, as it should. However, when I close the program, the NotifyIcon remains until I hover over it with...
0
by: petterl | last post by:
I have tried to find the error in the code below but I always get " An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object...
0
by: martin.lanny | last post by:
Hi all, I've got notifyicon (ntfSystemInfo) component on my form. It's basically a system tray icon. Whenever user puts his mouse over this icon it shows a textspecified with this command: ...
2
by: Rob Mayo | last post by:
OK, maybe this is my opinion, maybe these are bugs. Given the folowing: I have a NotifyIcon on my Form, a Context menu associated with the NotifyIcon, and a MenuItem on the ContextMenu set as...
0
by: Mike Allen | last post by:
Hi Everyone, My problem concerns ContextMenus. It's easy enough to create one and apply it to a NotifyIcon. When it's compiled and run, it works beautifully. Right click and there you are. But I...
1
by: Claus Konrad | last post by:
Hi How would you "force" the ToolTip text to be displayed on a NotifyIcon? I want to inform the user that an action has happened in the "background", and would like to present this text using...
3
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...
2
by: Derrick | last post by:
I've been working on an application which has a NotifyIcon (system tray icon), and a corresponding ContextMenu. I want to be able to update this menu dynamically. However, when I make changes to...
1
by: \Ji Zhou [MSFT]\ | last post by:
Hello Jason, Thanks for using Microsoft Newsgroup Support Service, my name is Ji Zhou and I will be working on this issue with you. I have tried to but cannot reproduce your issue on my side....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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...

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.