Is there a file open dialog class (such as IFileDialog, OpenFileDialog Class, etc.) that has already been written, which supports displaying the IShellView implemented by myself at the file list?
The existing implementation method is to use explorer. I registered the IShellFolder extension, and displayed IShellVIew as a child window in IShellFolder. (Here IShellView displays not the real item under the path, but the virtual item after I decrypt it. For example, there is a file A under a certain path, and files B and C are recorded in A. After opening, it displays B, C)
But for some reason, I need to replace it with trying to use the file open dialog. But I searched around, and there is no such calling method. And after my attempts, even if it is bound, the file list of the file open dialog will not call the IShellFolder extension, nor will it display the IShellView implemented by myself.
So I would like to ask, whether the existing file open dialog can be realized? （c++/c#）
If so, roughly how to achieve it?
Thank you so much. Very very much.
What kind of C++ project are you using? Can you provide the effect you want?
It is a win32 api application.
My expected function is to open a filedialog. The opened path is F:\test, but the files and folders under F:\test are not displayed but the files and folders recorded in F:\test\test.bin .
I know that I can implement a whole dialog box by myself, but I want to find out whether the existing filedialog supports it.
I wouldn't expect the file based open dialog to work for shell extensions. Have you tried using an IFileOpenDialog?
Yes, I tried. It does not support shell extensions
Do you not see "Control Panel" in the tree pane if you use an IFileOpenDialog?
Sign in to comment