Is it possible to replace the dialog box of an open system file?

I want to replace the standard open file dialog box with the one I wrote, which means that no matter what programs you open the file in, my dialog will be shown instead of the standard one, is this possible?

It seems that there is no such API for this, is it possible to use some kind of interception technique, but it should be reliable and should not be considered as spyware using antivirus tools?

any other options?

If this is not possible, can I add a button to the space or toolbar in the standard dialog box of the open file that brings up my dialog, which allows users to select the file and, in turn, returns the path of the selected file to the File Name field in the standard dialog box ?

Any hits, links and code examples will be appreciated.

+3
source share
2 answers

Starting with Vista, the FileOpen / FileSave dialogs are now โ€œ Common Item Dialogs,โ€ of which IFileOpenDialog and IFileSaveDialog are two published implementations.

COM CLSID, , CLSID. - , .

Pre-Vista , .

+1

/ , .

, , /, , (/ ), / , /. script !

, , , , / ( , ). , , . Office (Ctrl + K), Insert Hyperlink .

, , .

0

Source: https://habr.com/ru/post/1710047/


All Articles