Solved

Changing taskbar icon tooltip

Posted on 1998-01-30
1
186 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
[X]
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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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 antispam), the admini…

739 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