jump-list

How to get the recent items from the JumpList?

点点圈 提交于 2021-01-28 04:26:23
问题 I'm using the Windows API Code pack to create a list of recent documents that are displayed in the jump list. It's working nice. I use this code to create entries: JumpTask jumpTask = new JumpTask() { Title = "RecentTest", Desciption = "...", ... } JumpList.AddToRecentCategory(jumpTask); And I can find them and click them, working fine. However, now I want to read these items and do something with them in my appliation (like show them, or open the last recent on application start). My problem

Quick Access and Namespace Extensions: Unpin object

谁说胖子不能爱 提交于 2020-01-06 05:58:11
问题 When I right click on an lnk file - link on a virtual folder in a namespace extension -, then the functions CreateViewObject and/or GetUiObjectOf of my IShellFolder/IShellFolder2 implementations are called. These functions are called with the IID_IContextMenu as parameter (riid) . Also when QueryContextMenu is called the flag CMF_VERBSONLY (0x00000002) is set. It means that 1) I know that a menu should be shown and 2) that because of the flag CMF_VERBSONLY that this menu was queried by a .lnk

C# - Get jumplist tasks from assembly

蓝咒 提交于 2019-12-25 03:12:31
问题 Is it possible to read all jumplist tasks/entries from an assembly using C#? I have worked with the WindowsAPICodePack before, but I did not find the appropriate methods/classes. I have read some articles which stated that it is impossible to read the jumplist tasks associated to an assembly but I personally think that it is possible to read these tasks, as Windows (or at least MS Explorer) has to do it all the time. Thank you in advance Edit: I realized that my question was asked rather

How to use Windows 7 features in my simple .net application without any new API?

感情迁移 提交于 2019-12-24 12:15:58
问题 I want to use windows 7 features like icon overlay, and thumbnail tasks but my question is that can i do it without using any other API on just my plain .net 3.5. i recently enabled jumplists on an application in my c#.net 3.5 using the Shell routine so can something like that be done for icon overlay and other windows 7 taskbar features. And can old application like notepad which i am sure was made years ago use these new feaures? 回答1: I guess it depends on the meaning of "use". You get

can I set the AppUserModelID of an arbitrary process launched through a jumplist?

こ雲淡風輕ζ 提交于 2019-12-23 04:05:08
问题 I have a simple console application written in C++ that acts as a stub for launching another application through it's jumplist. Purpose is to add jumplist abilities to applications that do not support this. Call it stub.exe. When running stub.exe it creates a custom jumplist using these steps (taken right form the MS samples): create an ICustomDestinationList ICustomDestinationList::BeginList() create an IObjectCollection for_each item_to_add create an IShellLink, set its path/arguments/title

can I set the AppUserModelID of an arbitrary process launched through a jumplist?

无人久伴 提交于 2019-12-23 04:05:02
问题 I have a simple console application written in C++ that acts as a stub for launching another application through it's jumplist. Purpose is to add jumplist abilities to applications that do not support this. Call it stub.exe. When running stub.exe it creates a custom jumplist using these steps (taken right form the MS samples): create an ICustomDestinationList ICustomDestinationList::BeginList() create an IObjectCollection for_each item_to_add create an IShellLink, set its path/arguments/title

How to get appUserModelId for any app in windows 7/8 using vc++

浪子不回头ぞ 提交于 2019-12-13 00:37:08
问题 I want to find out recent/frequent items from jumplist of any app. I know that we can do this using IApplicationDocumentLists interface. But we need appUserModelId for that. So now my problem is to find out appUserModelId for any app, given its exe path. Any help will be highly appreciated. 回答1: AppUserModeIDs are not part of the EXE file itself, so it is not enough to just have the path to the EXE file. AppUserModeIDs are assigned while the EXE is running, and they can be assigned on process

Custom titles for Windows 7 Jump List Recent items

只谈情不闲聊 提交于 2019-12-11 07:58:30
问题 Quickie question: I'm toying with some of the new taskbar APIs in Windows 7 and have gotten Recent Items on my Apps jumplist to show up, but I would like to display them under a different title than the filename (most files my app will be opening will have very similar names). I don't see any way to do that with the IShellItem interface, though. Would I have to use custom categories and IShellLinks to accomplish this? For reference, my current code looks like this: void AddRecentApp(const

Vim: how to prevent jumps out of current buffer?

大兔子大兔子 提交于 2019-12-09 09:54:14
问题 I frequently have several buffers open in my Vim session. This means that my jumplist stores locations from several buffers. However, frequently when I use Ctrl-o to jump to a previous location, I do not want to leave the buffer and want to jump to previous locations "local" to the current buffer. How do I do this? Example: If my jumplist looks like to following: 4 10 1 ~/aaa.m 3 20 1 ~/aaa.m 2 12 2 ~/xxx.m 1 15 1 ~/aaa.m I want to jump to line 15 of file aaa.m the first time I press Ctrl-o.

Windows 7 Jump-List (Windows Forms, C#)

余生长醉 提交于 2019-12-06 05:28:46
问题 Does anybody know how to customize the Windows Jump-List feature related to my own application in C#? I know it can be done, but I cannot find anything C#/Windows7 related on MSDN yet. The only info related to W7 and C# I can find so far is just compatibility junk which I've already read. Thanks all Baeltazor 回答1: You can do this with the Windows API Code Pack There is a sample in Samples\Shell\TaskbarDemo\CS which shows you how to customise the Jump List and icon. 来源: https://stackoverflow