Solved

Changing taskbar icon tooltip

Posted on 1998-01-30
1
182 Views
Last Modified: 2010-04-04
How can you change the taskbar icon (szTip) at RUN-TIME. I can set it at design time quite easily, but I want it to update according to what the application is doing.

Take the Resource Meter that comes with Win '95 for example. The caption of the tooltip changes when the resources change.
0
Comment
Question by:jsweby
1 Comment
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 50 total points
Comment Utility
I think you have to call "Shell_NotifyIcon(NIM_MODIFY, @MyIconData);" to reinitialize the hint.

Before calling:
  MyIconData.cbSize := SizeOf(TNotifyIconData);
  MyIconData.uFlags := NIF_TIP;
  MyIconData.szTip := 'Whatever...';

JB
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now