troubleshooting Question

Custom JumpList with events and no file association

Avatar of MunichJoe2009
MunichJoe2009 asked on
.NET ProgrammingWindows 7
4 Comments1 Solution968 ViewsLast Modified:
Dear community,

I've come across an odd restriction that I find hard to believe. Using the Windows API Code Pack to utilize the new features of the Aero-based task bar, I wanted to create a custom jump list for my application. It is a CTI app, and I'd like to list the five most recent call partners in the jump list to enable users to quickly redial their phone number. The problem is that as far as I can see, jump list entries are always associated with a file, using the Windows shell to launch the file and open it in the associated application. But that's not what I want.
I'd rather like to have an event for each of the JumpList entries that is thrown when the user clicks an entry, and dial the phone number for that entry right away.
Public code forums usually show how Notepad is launched from a JumpList, which is useless for me. I don't want Windows to launch files. Other examples have the running application launch again with command line parameters, indicating what was actually clicked. That's a little too intricate for my taste.
There are loads of applications having custom JumpList entries that are not file-associated, such as Skype where the user can change the online/off-line status from within the jump list (image of the JumpList attached). How do they do that? I suppose they don't use the "launch skype.exe again with some command line parameter", and I couldn't find any such information using Process Monitor to see what Skype does when I change my status.
Isn't there a way to just get a "Clicked" event for a JumpList group or single item, like Skype seems to do?

Thanks for your help!

Regards,
Joe Skype JumpList example
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros