Is it possible to add a custom button and UI component to a file browser dialog in MFC or win32?

I am trying to create a file viewer dialog in my windows project. When a user has tried to save a file, they can save the file locally or on their cloud account. For example, when we click "Save" using CFileDialog

, we can open a file dialog, for example: enter image description here

When a user wants to save their file to their cloud account, they can click the button located next to New Folder at the top of this dialog, which will then display the folder organization on the cloud account in this dialog: enter image description here

So my question is, is this kind of dialogue possible in MFC? I have searched for it for hours, but I think that none of the SHBrowseForFolder or CFileDialog

will be able to satisfy it. I need a key component: 1, we can add a custom button on top, like a cloud button. 2, content layout or style in the middle can be customized. Is this possible in the UI in MFC?

+3


source to share





All Articles