2

I've notice that some programs when they load, the icon in the task bar shows the progress, at least for windows 7. I wonder how to use that ability.

Like show in the image below:

http://img717.imageshack.us/img717/9569/loadingj.jpg

Alpine
  • 3,838
  • 1
  • 25
  • 18
SlowDeepCoder
  • 864
  • 3
  • 11
  • 27
  • This fonction seems to be easier to be implemented in a .net application http://weblogs.asp.net/sergeyzwezdin/archive/2009/04/30/windows-7-programming-taskbar-part-1-progress-bar.aspx – VirtualTroll Aug 23 '11 at 18:06
  • 1
    did you check http://stackoverflow.com/questions/2167037/windows-7-taskbar-progress-bar-in-java – VirtualTroll Aug 23 '11 at 18:20

1 Answers1

2

You need SetProgressState and SetProgressValue from the ITaskbarList3 interface.

From Java you could try BridJ.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
  • Yes, you can have a look at this example program that makes full use of BridJ's ITaskbarList3 binding : https://github.com/ochafik/nativelibs4java/blob/master/libraries/Runtime/BridJ/src/main/demos/TaskbarListDemo.java – zOlive Sep 01 '11 at 01:22