-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Is your feature request related to a problem? Please describe.
Having a tool that could display the shell extension without having to register the extension and load it through File Explorer would be a nice feature. It could also be or great help for debugging the actual ShellExtension while it's debugging.
Describe the solution you'd like
A simple graphical window that has a Browse button to select one or multiple files or a directories.
Then a Show button that would show the extension based on the previous file/directory selection.
Describe alternatives you've considered
N/A
Additional context
See the following for references:
- Search for code that could init and display a
IContextMenuinstance. - https://stackoverflow.com/questions/1744902/how-might-i-obtain-the-icontextmenu-that-is-displayed-in-an-ishellview-context-m
- https://stackoverflow.com/questions/3777121/how-to-access-windows-shell-context-menu-items
- https://stackoverflow.com/questions/10668456/how-to-show-windows-explorer-context-right-click-menu
- https://stackoverflow.com/questions/1836622/surely-there-is-a-way-to-obtain-the-full-view-pulldown-for-the-current-folder-vi
- https://github.com/WinMerge/winmerge/blob/e85e6263a3a3bcbbf2ebba02aa6c5a5ee7729536/Src/MergeEditView.cpp#L3319
- https://github.com/WinMerge/winmerge/blob/e85e6263a3a3bcbbf2ebba02aa6c5a5ee7729536/Src/Common/ShellContextMenu.cpp#L123
- https://cpp.hotexamples.com/examples/-/CMenu/InsertMenu/cpp-cmenu-insertmenu-method-examples.html
Continue the following search:
https://www.google.com/search?q=c%2B%2B+show+TrackPopupMenu+%22CComPtr%3CIContextMenu%3E%22