How to add tasks entry to taskbar with Delphi 4?

119 views Asked by At

How to add tasks entry to Win 7 application taskbar (right clicking menu) with Delphi 4 ?

I cannot change the project from Delphi 4 to newer but need to add Win 7 taskbar support.

1

There are 1 answers

0
David Heffernan On BEST ANSWER

These new APIs and capabilities are provided in the form of COM interfaces. Clearly these interfaces are not provided with stock Delphi 4, dating as it does from the 20th century. So to make progress you will need to define the interfaces you need, and use them as you would any other COM interface.

It seems very likely to me that a web search will yield a variety of Delphi definitions for these interfaces. I expect that the JEDI project, for instance, will have translations. You will very likely need to adapt these translations to compile in Delphi 4, but starting from pre-existing modern Delphi translations will likely be the quickest way to get this done. Be sure to keep one eye on the MSDN documentation as you go.