Questions tagged [shell-extensions]

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

299 questions
3
votes
4 answers

How to change Sharpshell Icon Overlay Handler name in registry to contains space before name?

I created Icon Overlay Handlers using sharpshell as this sample:- http://www.codeproject.com/Articles/545781/NET-Shell-Extensions-Shell-Icon-Overlay-Handlers My Sharpshell handler is [ComVisible(true)] [DisplayName(" Test")] public class…
yo2011
  • 971
  • 2
  • 12
  • 38
3
votes
1 answer

COM IContextMenu::InvokeCommand - matching LPCMINVOKECOMMANDINFO::lpVerb to item

I have created a shell extension for windows with COM, however I seem to fail to properly match the ids of items I add in the overload of IContextMenu::QueryContextMenu with what I receive in the overload of IContextMenu::InvokeCommand. In my code I…
ulak blade
  • 2,515
  • 5
  • 37
  • 81
3
votes
1 answer

Why does Windows Shell context menu handler break power-user menu (Win+x) on Windows 8/10?

My custom Windows shell context menu handler works like a charm, for all Windows versions from XP to 7, but on Windows 8, 8.1 and 10, installing it breaks the Win+X menu (sometimes called "Power user menu", or "Quick Access menu", or "WinX menu"):…
xav
  • 5,452
  • 7
  • 48
  • 57
3
votes
2 answers

Determine if shell extension is called as a context menu handler or a drag-n-drop handler

I want to determine programmatically if my shell extension is called as a context menu handler or a drag-n-drop handler. I have registered my shell extension in proper location with same…
user2120666
  • 579
  • 1
  • 4
  • 16
3
votes
1 answer

Can I use C++/CLI to implement shell namespace extension interfaces but pass off real work to .NET?

Windows shell extension with C# and Shell Namespace Extension. C#. C++, MFC, AT—what to use? ask some of my questions, but it (and the answers) are over two years old. I'm using Visual Studio 2013 with .NET 4.5[.1]. I've also read the Guidance for…
Ðаn
  • 10,934
  • 11
  • 59
  • 95
3
votes
1 answer

The module "MyShellExt.dll" failed to load

I have written a Shell Extension in Visual Studio 2010. It implements a Context Menu Handler and File Icon Handler. On the computer with Visual Studio it works well. But on other computers, registering MyShellExt.dll fails with the message [Window…
barbaris
  • 514
  • 8
  • 25
3
votes
1 answer

.NET ShellExtension (Framework 4.5, Windows 8.1, SharpShell) not working

I tried to implement a custom ShellExtension in Windows 8.1. Found that really good SharpShell tutorial. [ComVisible(true)] [COMServerAssociation(AssociationType.AllFiles)] public class CountExtProvider : SharpContextMenu { protected override…
Martin
  • 3,096
  • 1
  • 26
  • 46
3
votes
1 answer

Video thumbnail with custom image overlay

I want to overlay an image over a video thumbnail. Like the image shown below which is a video thumbnail having WMP image shown in right bottom. Is there is any way to overlay video thumbnail with custom WMP image shown on video thumbnail. as shown…
Muhammad Umar
  • 3,761
  • 1
  • 24
  • 36
3
votes
3 answers

Cannot add icon in shell extension with C#

I've found a very nice tutorial and i am trying to understand something that is not in this tutorial (because the tut itself works fine) http://www.codeproject.com/Articles/9163/File-Rating-a-practical-example-of-shell-extension When you look at…
stackr
  • 2,742
  • 27
  • 44
3
votes
2 answers

How to change icon for a some files of file type?

I have IconHandler to change icon for some files. But other files icons becomes blank. How to leave default icon for other files? HRESULT CSimpleShlExt::GetIconLocation(UINT uFlags, PTSTR pszIconFile, UINT cchMax, int *piIndex, UINT…
barbaris
  • 514
  • 8
  • 25
3
votes
2 answers

Writing a Windows Shell Extension similiar to the Assembly Cache Viewer

I would like to write a shell extensions to completely customize the display of a particular folder, ala the Assembly Cache Viewer (browse to c:\windows\assembly and you will see what I mean). Which COM interfaces are responsible for providing these…
Adam
  • 4,159
  • 4
  • 32
  • 53
3
votes
1 answer

Shell namespace extension adding barricade

I implemented namespace extension using default shell view in Windows XP. Everything works fine, but I want add barricade (A Description of Protected Folders - also applicable to Windows XP). Is possible this using documented/undocumented functions…
Xearinox
  • 3,224
  • 2
  • 24
  • 38
2
votes
3 answers

C# App using Windows API Code Pack Shell Extension won't shut down

I have a C# application which makes use of the Microsoft Windows API Code Pack - in particular the Shell Extensions, which I use to monitor storage devices and media insertion and removal. However when I attempt to close the app in Visual C# 2010…
Mark
  • 436
  • 4
  • 18
2
votes
1 answer

Contextual Menu to a Specific Folder

I have read how to add a contextual menu though registry to all files or files according the extension. But how can I add a contextual menu that will work ONLY on files of a specific folder (for example on files of folder C:\contmenu)? Can this be…
Nick Doulgeridis
  • 583
  • 1
  • 16
  • 31
2
votes
0 answers

SHLoadNonloadedIconOverlayIdentifiers doesn't work in the WinXP?

In the current project, I'm making an icon overlay. The actual implementation is completed. And I made sure that it worked well in WindowsXP and Windows7. But I want to appear to overlay icon immediately without restarting the explorer process. So…
lynnx1029
  • 21
  • 2