Example Microsoft .NET Framework 4.0 JumpList / TaskbarItemInfo for Windows Forms

As I understand it, the implementation of JumpList using the Windows API code is now depreciating, since Microsoft now supports JumpList directly through Microsoft.NET Framework 4.0.

http://msdn.microsoft.com/en-us/library/system.windows.shell.taskbariteminfo.aspx

I see that their examples can indicate progress, etc. however, I struggled to implement this on Windows Form.

I managed to successfully implement JumpList and TaskBarItem using the Windows API package in the past http://code.google.com/p/zscreen/source/browse/trunk/ZScreen/Forms/ZScreenConfigGUI.cs#277 , but I want to move away from this dependencies and use Microsoft.NET Framework 4.0.

Your advice is greatly appreciated.

Thanks Mike

+7
source share
1 answer

System.Windows.Application is in the view structure ( PresentationFramework.dll ), i.e. WPF. It does not exist in Winforms. Therefore, use the Code Code for the Windows API, as here: http://code.msdn.microsoft.com/windowsdesktop/Jump-List-with-Windows-db005b99

WPF 4 provides built-in navigation list support. Instead, if we use Windows Forms, we should accept a package of Windows API code, managed which allows you to access the functions of the Windows API. Available on NuGet, it also provides everything you need to manage jump lists in our Windows Forms Applications.

Another example: http://www.codeproject.com/Articles/103913/How-to-Create-a-Custom-Jumplist-with-Custom-Events

I understand that implementing JumpList using the Windows API Pack code is now depreciating

Not deprecated, it is also part of the new .net 4 features, but for WPF. For winforms, you still have to use the package as above.

+3
source

All Articles