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?
Asked
Active
Viewed 189 times
0

A9S6
- 6,575
- 10
- 50
- 82
1 Answers
1
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

MSalters
- 173,980
- 10
- 155
- 350
-
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. – A9S6 Aug 05 '15 at 10:07
-
@A9S6: Sounds quite painful. – MSalters Aug 05 '15 at 10:08