I want to add custom jump list entries to my application in Windows 7.
The menus I am referring to are the following.
Pin a application to the taskbar.
Now right click on the application.
Some applications like windows media player etc. have custom options that you can run.
How do I go about adding these to my application.
The Windows Team Blog has some articles about Jump Lists and other new Windows 7 Shell features:
Those are geared towards C++ applications, there are also managed code APIs which package those in a way a little easier accessible to .NET developers.
For .Net code, there are some good example and libraries in the Windows API Code Pack
The Samples\Shell\TaskbarDemo specifically deals with the TaskBar APIs and shows how to do Jump Lists and control the icon.
Not sure if it has any examples of custom actions like Media Player.
来源:https://stackoverflow.com/questions/1409487/how-to-add-windows-7-jump-lists-to-a-application