Search code examples
c#right-clicktasklistjump-list

Adding task options when pinned app is right clicked


We have a c# application that requires a few steps be completed before every launch. I wrote a c# app to automate these steps.

Can anyone help me figure out how I can [EDIT: configure a JumpList] for my app?

I have included a screen capture to hopefully get my point across as I'm not sure how to explain it any better.


Solution

  • For the native interfaces, see Taskbar Extensions (Windows). Specifically, I think you're looking for the ICustomDestinationList::AddUserTasks method.

    If you're using .Net 4+, you can now do a lot of this stuff with built-in classes in the System.Windows.Shell namespace, rather than adding the Windows API Code Pack as suggested by Coding Gorilla. See for example System.Windows.Shell namespace