Questions tagged [shell-extensions]

Shell Extensions are COM objects that extendeds functionality of Windows Explorer.

299 questions
3
votes
2 answers

Windows Explorer Alternate Data Stream Shell Extension

I have some files that use alternate data stream and are not shown on windows explorer. I would like to make a shell extension or a program that runs on background that when I use windows explorer and navigates to a folders that has alternate data…
3
votes
1 answer

Adding properties to virtual files

I'm developing a explorer data provider based on this sample. I already added drag & drop support. Now I want that the files and folders can be ordered by filetyp, size or whatever. The problem seems that the virtual files have only the name…
rekire
  • 47,260
  • 30
  • 167
  • 264
3
votes
2 answers

Communicate between a COM DLL and C#

I asked a question the other day regarding overlay icons. With help, I figured out how to get that working. Here's how an icon overlay works (as far as I understand): Before the shell draws an icon it contacts all the icon overlay handlers in the…
Sean
  • 241
  • 1
  • 3
  • 12
3
votes
0 answers

Windows Files-OnDemand Context menu item

Files On-Demand We must prepare the application similar to OneDrive on Windows - synchronization list of files stored in cloud and synchronization of selected files. During the investigation we found a very nice library to manage On-Demand Files in…
Adrian
  • 406
  • 4
  • 9
3
votes
2 answers

Windows Explorer Shell Extension: create file and enter "rename" mode

For a shell extension (UI is similar to "New/" context menu), I need to create a file, select it and enter "rename" mode, so the user can adjust the default name. Q: How do I enter "rename" mode for a file?
peterchen
  • 40,917
  • 20
  • 104
  • 186
3
votes
1 answer

Detecting file-selection right click in Desktop C#

i got file right click in file explorer but i can't get path file or folder when i right click in desktop public void GetListOfSelectedFilesAndFolderOfWindowsExplorer() { string filename; ArrayList selected = new ArrayList(); …
3
votes
2 answers

Loop through IContextMenu

How do I loop through all items and sub items of a IContextMenu and list all available verbs? So far, I have this working code extracted from JCL: function DisplayContextMenuPidl(const Handle: THandle; const Folder: IShellFolder; Item: PItemIdList;…
Rafael Colucci
  • 6,018
  • 4
  • 52
  • 121
3
votes
0 answers

How to register a column handler windows 10

I am trying to add a custom column to windows 10 explorer. The onedrive application also implements this with the status column: https://www.codeproject.com/Articles/3747/Explorer-column-handler-shell-extension-in-C According to this website I need…
Stan
  • 629
  • 7
  • 18
3
votes
1 answer

COM shell extension to override "Run as Administrator" fails in start menu search

I'm working on a COM server DLL to override the "Run as Administrator" in Windows 10. I'm doing this by setting the DLL GUID as DelegateExecute on the Computer\HKEY_CLASSES_ROOT\exefile\shell\runas\command registry key. I have the CLSID entries for…
3
votes
0 answers

Question about accessing shell context menu in Windows 10

I'm trying to retrieve the shell context menu, the menu will not be displayed since I only need the HMENU to get the name and icons of menu items (including items in sub menus). There are plenty of articles talking about this online, and following…
Rikka0_0
  • 61
  • 5
3
votes
0 answers

How do you force a ShellFolder to call CreateViewObject again and request a new ShellView

I have a Namespace extension with a Custom Shell View implementation. I'm trying to use IExplorerPaneVisibility.GetPaneState method but I'm not receiving any requests the first time the folder is loaded. This is because Windows gets this…
Peaked
  • 118
  • 14
3
votes
0 answers

Context menu methods in shell extension aren't being used

I am trying to write a shell extension that adds a menu item to the context menu for all file types. The code for the extension (in its entirety) is located here but I'll include some of the relevant parts below as I describe the problem. The…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
3
votes
3 answers

How can I write a Windows Shell Namespace Extension in Delphi?

First, sorry for my poor English... I want to add a virtual folder to Windows Explorer using a Namespace Extension (NSE), and I want users to be able to open this virtual folder to explore some path (e.g., c:\test). How can I do this using Delphi?…
dropme
  • 31
  • 2
3
votes
1 answer

Reload a namespace extension in explorer.exe that failed to load previously

Background I have a Shell Namespace Extension that is located (using a virtual folder as its junction point) under MyComputer. It is possible to create a shortcut to my namespace extension. Here I show my namespace extension with a shortcut on the…
Matt Smith
  • 17,026
  • 7
  • 53
  • 103
3
votes
1 answer

Is there a Click Handler for Shell Extension

After going through MSDN Shell Extensions I am not quite sure if I can extend the behaviour of Shell Click or Click Event of explorer. Any suggestion or Code Snipet, article or Walk through?
Simsons
  • 12,295
  • 42
  • 153
  • 269