Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can an application display an object on the Windows taskbar?

There are several applications around that display objects on the Windows taskbar but do no implement the IDeskBand interface. For example, the Lenovo batter meter and Notebook BatteryInfo.

For example:

Notebook BatteryInfo http://home.arcor.de/batteryinfogateway/img/taskbar_new.png

In the picture above, the object on the taskbar is put there by the application and disappears when the application closes. This is different than IDeskBand in which the COM object is loaded directly by explorer.exe.

What API/Method can be used in Windows to accomplish that?

like image 930
Chris Thompson Avatar asked Jan 27 '10 05:01

Chris Thompson


1 Answers

It's called "appbars". You'll need to write a module using Shell API and have the user register it with Shell. Please not that in case the user is running x64 OS, your module also needs to be 64-bit, which generally means that when you distribute your utility, there has to be both 32-bit and 64-bit versions of it.

Win7 has a much more flexible interface for this, called "taskbar extensions"

like image 53
Rom Avatar answered Oct 06 '22 01:10

Rom