Hi,
I have created a shell namespace extension using
SHCreateShellFolderView, which simply mirrors a local folder. I have my
own implementations of IShellView, IShellFolder, IContextMenu, etc.,
these forward calls to the system implementation when appropriate.
This extension works fine using windows explorer, it works in the
"browse for folder" dialog, and in the open/save dialog in Microsoft Office.
However, when I try to browse to my namespace extension in a normal
(i.e. common dialog) open/save dialog, no files or folders are shown.
The view is excactly as if the folder were empty. If I type a file name
and click OK, the file name is used correctly by Windows (e.g. if I
start notepad, choose Save As, browse to my namespace extension and
enter "myfile.txt", the file is saved to the correct path). I can also
right click in the view to get a context menu for the folder as usual.
I have verified that my IEnumIDList implementation is called and
enumerates all items in the folder.
I have also read KB216954 "How To Support Common Dialog Browsing in a
Shell Namespace Extension" and as far as I know, my namespace extension
conforms to the restrictions set forth in this article.
Any information on how to fix this problem would be most appreciated.
Regards,
Kenneth Pedersen
// Please remove ".spam" from my e-mail adddress to send mail to me.