Questions tagged [windows-shell]
The Windows Shell is the main graphical user interface in Windows hosted by Windows Explorer. It also implements a shell namespace that enables computer programs running on Windows to access the computer's resources via the hierarchy of shell objects.
windows-shell
767
questions
1
vote
0
answers
46
views
Why is the value of my custom property column not showing up in File Explorer?
I'm feeling really stupid right now. I've spent far too long on this and must just be missing something fundamental. What am I missing?
I'm trying to create a new column for File Explorer on Windows ...
0
votes
1
answer
77
views
Opening Folder in New Tab of Existing Shell Window
Note: This question only applies to Windows 11.
I want to open a folder in a new tab of an existing shell window. It seems that there is no official API.
I have tried two method:
The first, most ...
0
votes
0
answers
29
views
Context menu handler option not appearing in shell context menu
Following the Creating Shortcut Menu Handlers for adding a non-canonical verb to the shortcut menu:
HKEY_CLASSES_ROOT
.myp-ms
(Default) = MyProgram.1
MyProgram.1
(Default) = My ...
1
vote
0
answers
92
views
How to intercept the taskbar buttons calls?
I'm trying to intercept calls to the taskbar buttons, for this I'm hooking the CoCreateInstance function to detect when it creates the ItaskbarList4 .
I would like to find another way to hook these ...
0
votes
0
answers
112
views
Icon handler Not working properly that newly sync or download files on Local onedrive folder
I made a dll file, and registering it.
dll implementing Icon Handler using IExtractIcon class.
Icon handler changes specific extension files icon.
It works well on common local folder.
on local ...
0
votes
2
answers
112
views
Make existing instance of Windows Explorer navigate to specific folder
Detailed context
My project is about creating an icon in Windows Explorer to access a remote location and make navigation on Windows the same as it would be for a local filesystem.
This is working ...
0
votes
1
answer
41
views
Windows ContextMenuHandler names - Document conflict?
Microsoft page on Handlers has a section on Handler Names
It gives an example of the Handler Subkey Name type for an IContextMenu interface:
HKEY_CLASSES_ROOT
MyProgram.1
ShellEx
...
0
votes
0
answers
54
views
IContextMenu Handler - Should ShellExecute or CreateProcess be used to InvokeCommand?
I've added a handler for the context menu in explorer to show items conditionally. My question is now when it comes time to InvokeCommand should I use ShellExecute to run the .exe that needs to run, ...
1
vote
0
answers
88
views
Windows Explorer Conditional Context Menu Item for Drive?
I have a right-click context menu item that shows up for drive letters in Windows Explorer. I would like to make it conditional by executing a program with the drive letter passed as a parameter that ...
2
votes
0
answers
237
views
.NET cross-platform alternative to Microsoft.WindowsAPICodePack.Shell.ShellFile
I am moving an old library project from .NET Framework 4.7.1 to .NET 7/8. One of the goals is to make the libraries cross-platform rather than Windows-only. So far I have succeeded, but there's a last ...
0
votes
0
answers
58
views
Drag and Drop Attachments from Outlook to Windows Filesystem
I want to handle PDF files from Outlook and Windows Explorer. The user should drag the file to a window and then I want to copy the file to a folder and do some other things with it.
I found a nice ...
0
votes
1
answer
177
views
How to extract overlay icon or its path from file in windows
We have an icon overlay extension which displays different overlays depending on the file status. For automated tests, i am searching for a to check if the correct overlay is displayed. Therefore, i ...
0
votes
1
answer
194
views
Can't get thumbnail from IShellItem using IThumbnailProvider
So I've written some code to get the thumbnail from a file using a file path string as an input. First I get the IShellItem at the location, then get the IThumbnailProvider, and now I'm trying to get ...
1
vote
0
answers
42
views
SHChangeNotify for cloud folders fails with long paths
We have an application that is using the Cloud File Api to implement a OneDrive like product. The following workflow causes a problem
STEPS
Navigate to a folder in windows explorer
On another ...
0
votes
0
answers
102
views
Move files/folder from multiple source into one target path using windows shell script in autohotkey
Background: I want to write an ahk script to extract content of selected folder to the parent level.
The first technical problem is solved (kind of): how to pass multiple arguments to script instead ...