OverMars
OverMars

Reputation: 1049

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.

Upvotes: 3

Views: 484

Answers (2)

Joshua Honig
Joshua Honig

Reputation: 13215

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

Upvotes: 1

CodingGorilla
CodingGorilla

Reputation: 19842

Those are called "Jump Lists", have a look at the Windows API Code Pack here. I can't tell you exactly how to implement them, because it's very dependent on your application code. But this should give you somewhere to start.

Upvotes: 1

Related Questions