We have a REST API that we can use to get a list of files, upload and download files. Now we need to integrate this API in one of our application so that users can open and save files using the API.
I want to make the UI consistent with opening and saving a normal file. Instead of creating new dialogs, I believe the Common File Dialogs can be tweaked to display a virtual folder populated using the API. A new location can be added on the list on the left hand side. Any ideas how this can be accomplished?
Add a comment
|
1 Answer
The "Open File Dialog" is just the Windows Shell component. You're looking for IShellFolder
and friends.
As for adding it to a Common Item Dialog, that would be done via IFileDialog::AddPlace
-
I was thinking maybe this can be done by using Dialog hooks. Is it possible to tweak the open/save dialogs in just my application by somehow attaching a IShellFolder based object to dialogs.– A9S6Aug 5, 2015 at 10:07
-