Currently, SHFileOperation has some confirm file replacement dialog boxes that ask the user if they would like to replace a file or not. I find these useful, but I would like to be able to modify the scenario in which they occur. Instead, I would like to compare the file contents first with a bool compareFile()
function I wrote. Then, if the files are identical the file replacement dialog box will not come up. Assuming, I already have a working compareFile()
function, is there a way for me to do this? Thank you for your time.
SHFileOperation replace file dialog
478 Views Asked by JHowzer At
1
You can register a callback with the shell using this interface.
Documentation
Example