Solved

Changing taskbar icon tooltip

Posted on 1998-01-30
1
184 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
ID: 1357942
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

808 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