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?

Liang Lilong 0 Reputation points
2023-05-23T10:21:16.33+00:00

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.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,221 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,525 questions
{count} votes