Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

Changing taskbar icon tooltip

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
jsweby
Asked:
jsweby
1 Solution
 
JimBob091197Commented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now