The last topic I want to cover about the Windows 7 taskbar is the Jumplist!!! To create a new JumpList, call CreateJumpList() JumpList jumplist = JumpList.CreateJumpList(); We should now choose if we are only creating user tasks or custom categories? I decided to create user tasks jumplist.AddUserTasks(new JumpListLink(Path.Combine(Environment.CurrentDirectory, “MiMail.exe”), “Mail”) { Arguments = “mail” }); jumplist.AddUserTasks(new JumpListLink(Path.Combine(Environment.CurrentDirectory, “MiMail.exe”), “Contacts”) { Arguments = “contacts” }); jumplist.AddUserTasks(new JumpListLink(Path.Combine(Environment.CurrentDirectory, “MiMail.exe”), “Calendar”) { Arguments = “calendar” }); We could also use custom categories to group our tasks JumpListCustomCategory category = new JumpListCustomCategory(“Mail”); category.AddJumpListItems(new JumpListLink(Path.Combine(Environment.CurrentDirectory, “MiMail.exe”), “Inbox”) { Arguments = “inbox” }); category.AddJumpListItems(new JumpListLink(Path.Combine(Environment.CurrentDirectory, “MiMail.exe”), “New Message”) { Arguments = “newMessage” }); jumplist.AddCustomCategories(category); Don’t forget to call Refresh() jumplist.Refresh(); Now, if you read my previous blog post and had no clue why you would want to use it? JumpList allows you to specify a application (and its arguments) to be executed if you click on a user task!!! Cool, isn’t it
Continued here:
Anatomy of the Windows 7 taskbar – Jumplist (Part 1)