3

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.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
OverMars
  • 1,077
  • 3
  • 16
  • 33
  • 1
    Here is a similar question: http://stackoverflow.com/questions/3156378/adding-taskbar-context-menu-to-win7-application – Thymine Nov 16 '12 at 16:37
  • 1
    The URL is broken now. This question should probably be deleted, despite the up-votes. – Jonathan Leffler Jul 22 '22 at 16:55
  • I tried but get: "You cannot delete this question as others have invested time and effort into answering it. For more information, visit the help center." – OverMars Jul 25 '22 at 21:27
  • I have voted to close this question.. I don't even use python anymore (for me to try and add more details w/o a picture) – OverMars Jul 25 '22 at 21:29

2 Answers2

1

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.

CodingGorilla
  • 19,612
  • 4
  • 45
  • 65
1

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

Joshua Honig
  • 12,925
  • 8
  • 53
  • 75
  • I am 99% of the way there. Only issue is when I try to add the jumplist to my app via [JumpList.SetJumpList(System.Windows.Application.Current, jumplist)] it throws an exception because Application.Current is Null. Any idea what I'm missing? Thanks !! – OverMars Nov 17 '12 at 00:27