Questions tagged [shell-extensions]

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

299 questions
0
votes
1 answer

Can i know the old PIDL of a shell item when i handle SHChangeNotify with SHCNE_UPDATEITEM?

i have the following query: Basically, i'm trying to change overlay icons according to my specific logic on a specific shell item. whenever a shell item needs icon refresh, i'm calling SHChangeNotify(SHCNE_UPDATEITEM, SHCNF_IDLIST | SHCNF_FLUSH,…
ArielB
  • 1,184
  • 2
  • 11
  • 36
0
votes
1 answer

NSE: After minimizing and restoring a window I get 'WM_WINDOWPOSCHANGING' but not 'WM_WINDOWPOSCHANGED'

If I minimize my shell extension folder, and then try to restore it via click in the taskbar, I get an error beep and nothing is done. Using Microsoft Spy++, I reviewed the events of attempting to restore the folder and got the following: <00001>…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

multiple icon overlay handlers in one dll

I want to create multiple icon overlay handlers in order to change the overlay icon of a file based on its status. I'm looking for a way to implement all handlers in the same dll. accoring to GetOverlayInfo documentation I must return the same…
elad-ep
  • 333
  • 1
  • 9
0
votes
1 answer

Explorer Namespace Extension- what is the entering method of Save in third party application?

I have a program with Namespace Extension that is based on linking (the folders does not exist locally). Whenever i try to save a file under the folder that is using the ShellExtension i get an error: C:\folderPath... Path does not exist. Check the…
Idan
  • 509
  • 2
  • 10
  • 24
0
votes
1 answer

Refreshing a folder that doesn't exist in the file system

In my shell extension I have folders that don't actually exist in the file system, but only appear so to the user. When the content of those folders is changed, I want to refresh them, and currently I do it in the same method I do for regular…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

Renaming in my NSE does not work in Content View

NSE meaning namesapce extension (https://msdn.microsoft.com/en-us/library/windows/desktop/cc144095%28v=vs.85%29.aspx) I have a namespace extension developed using the DefView. I am handling FMTID_PropList+PID_PropList_ContentViewModeForBrowse and…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

set overlay Icon to running explorer without restart

I want to change overlay Icon of file on the basis of some status. if file status get changed the overlay Icon should change. for example: If file is locked overlay icon related to locked should set & If release it should set different overlay icon.
MUKHTAR INAMDAR
  • 85
  • 4
  • 17
0
votes
1 answer

Is it possible to inherit the default IShellFolder implementation?

I'm trying to implement a shell namespace extension, for the sole purpose of overriding the thumbnail handler (IExtractImage) in a specific folder. I want everything else to be the same as in a normal folder, and I'd rather not have to reimplement…
Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758
0
votes
0 answers

How to enumerate PropertySheet shell extension associated with extension

I want to fill a list with the PropertySheet shell extensions associated with a file extension. I found the SHGetAssocKeys() function and it looks like it allows me to enumerate all HKEYs associated with the file extension and I can read all…
Denis Anisimov
  • 3,297
  • 1
  • 10
  • 18
0
votes
1 answer

Possible to add tags to custom file?

For MS Office files, like a docx file, image files etc you can set searchable tags from properties in Windows Explorer, see image. If I have my own custom file format, how can I add that to the details page of my file? I've been looking at shell…
user1309971
  • 607
  • 1
  • 5
  • 11
0
votes
1 answer

How to intercept a window message in a shell extension

I have a shell extension that needs to reload its configuration when a specific window message (custom message registered with RegisterWindowMessage) is broadcasted by another application. I tried several approaches to intercept the…
Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758
0
votes
1 answer

Disabling a Windows shell extension

I have the following registry key in Windows that spawns a shell context menu for my .NET application: HKCR\AllFileSystemObjects\shellex\ContextMenuHandlers\MyShellExtension This extension spawns a context menu option when I right-click files in…
Alexandru
  • 12,264
  • 17
  • 113
  • 208
0
votes
1 answer

Windows Explorer Not Reading ID3 Meta Tags for Custom File Type

I created a custom binary file type with its own extension (.atef). To provide some meta data about the file, I decided to implements the ID3 meta tags standard. I hoped that Windows Explorer in Windows 8 would automatically detect the existence of…
0
votes
1 answer

Shell Extension: IShellExtInit::Initialize called 4 times

I've run into a situation that is not so unique (others have been asking exact same question) Offsite similar question.. Basically, for some reason, the code in IShellExtInit::Initialize implementation that is supposed to be invoked once after each…
qdot
  • 6,195
  • 5
  • 44
  • 95
0
votes
2 answers

How to add(enable) standard "Send To" context menu option in a namespace extension

I have a namespace extension, which provides a virtual view of files/folders in a server. In the IContextMenu::QueryContextMenu() I have added some of the custom menu items. I have also set couple of SGAOF flags in the…