Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
66 views

Implement IExtractIcon To Get Yellow Folder Icon And Extension Icon Of Virtual File

I am having the exact same problem as the engineer referenced in this link. I was quite surprised at t he solution given by Raymond (Chen) because Raymond's answer seems (to me) to be circuitous: He ...
HackTheStack's user avatar
1 vote
1 answer
78 views

Paste and Paste shortcut Greyed-Out In Context Menu Of Background of Default IShellView

I have a namespace extension that uses both SHCreateShellFolderView and SHCreateDefaultContextMenu. I also use IShellFolderViewCB and IContextMenuCB to create default objects. Most of the expected ...
HackTheStack's user avatar
-1 votes
1 answer
177 views

Default column index for sorting in Shell Namespace Extension

In my Shell Namespace Extension I am using SHCreateShellFolderView to obtain IShellView when it is requested: IFACEMETHODIMP ShellFolder::CreateViewObject(HWND hwnd, REFIID riid, void** ppv) { if (...
ElDorado's user avatar
  • 468
1 vote
0 answers
152 views

Explorer ignores ParseDisplayName in Shell Namespace Extension

I am writing a Shell Namespace Extension. How may I force explorer to access (and open) items that are not enumerated with IShellFolder::EnumObjects by typing their parsing name in the address bar? I ...
ElDorado's user avatar
  • 468
2 votes
0 answers
152 views

Alternatives to IShellFolderView's RemoveObject and AddObject methods

I know that IShellFolderView interface is no longer supported by the Windows Shell as of Windows 7. However I am still interested in the methods (i.e RemoveObject and AddObject) exposed by that ...
Reznicencu Bogdan's user avatar
0 votes
1 answer
709 views

Shell namespace extension registry on windows 10 IOT enterprise

I am creating a virtual folder with shell namespace extension on windows 10 IOT enterprise. The code I am using come from windows 7 SDK samplesm which is provided by microsoft. Here is the whole ...
beasone's user avatar
  • 1,085
1 vote
0 answers
260 views

Can a shell namespace extension displaying a form receive/pass files to IFileDialogs?

I'd like to show a shell namespace extension in the new (since Windows Vista) IFileOpenDialog and IFileSaveDialog. These dialogs can apparently display a custom form like the built-in Homegroup ...
Steve's user avatar
  • 2,520
0 votes
1 answer
87 views

The value for "Shared" column is not displayed correctly in shell namespace extension

I use shell namespace extension to create a virtual folder on windows 7. I want to add columns to this virtual folder so it can display the virtual files's details. However, the value for "Shared" ...
beasone's user avatar
  • 1,085
4 votes
0 answers
558 views

How to update a shell namespace extension without explorer restart?

I have a shell namespace extension, using a file system folder as its junction point (by creating a desktop.ini file with my extension's CLSID in the folder). When upgrading to a new version of the ...
Jeremy Spiegel's user avatar
2 votes
0 answers
176 views

The new folder button created for virtual folder cannot be displayed in CFileDialog

By using shell namespace extension, I create a virtual folder and add a "New Folder" button on the toolbar, and I can see the button when I use windows explorer to open it: The related code about the ...
beasone's user avatar
  • 1,085
0 votes
1 answer
362 views

How to add background photos/text in the folder view on windows by shell namespace extension

I used miscrosoft SDK sample to create a virtual folder by shell namespace extension: In this virtual folder, it has several folders. One of the folders is empty. I want to change the background for ...
beasone's user avatar
  • 1,085
2 votes
1 answer
420 views

Receiving parent's window handle on IShellFolder/IShellFolder2 EnumObjects implementations while searching?

I'm scratching my head in receiving the parent window handle in a namespace extension project i'm working on. The use case is as follows: User browses to a virtual folder through windows explorer ...
ArielB's user avatar
  • 1,254
0 votes
0 answers
608 views

How to get the path of the virtual folder in file save dialog?

----------------------------------update----------------------------------- If I implement the ParseDislayName like following, dialog will report "The file already exist, do you want to replace ...
beasone's user avatar
  • 1,085
0 votes
1 answer
832 views

cannot get the path for the virtual folder on windows 7 C++(shell namespace extension related)

By using Microsoft windows SDK 7.0, explorerDataProvider, I installed a virtual folder on windows 7. When I open the file browse dialog from an application, CFileDialog dlg(TRUE, NULL, 0, ...
beasone's user avatar
  • 1,085
1 vote
1 answer
438 views

virtual folder is invisible in the CFileDialog in windows 7

-------------------------update 5th------------------------------- if (fIsFolder) { dwAttribs |= SFGAO_FOLDER; } else { ...
beasone's user avatar
  • 1,085
2 votes
1 answer
322 views

how to display the virtual folder only when user open the windows explorer from an app on win 7?

--------------------------------second updates------------------------ I tried: STDAPI_(BOOL) DllMain(HINSTANCE hInstance, DWORD dwReason, void *) { // Get the path and module name. WCHAR ...
beasone's user avatar
  • 1,085
3 votes
1 answer
759 views

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 ...
Matt Smith's user avatar
  • 17.4k