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.

Thanks in advance for any guidance you can offer; Sam

有帮助吗?

解决方案

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

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top