I don't want to display any overwrite prompt while user enter the file name which is already exist in my custom IFileDialog
.
I have already gone throw IFileDialog::SetOptions
method but it dint solve my problem.
FOS_OVERWRITEPROMPT (0x00000002)
: When saving a file, prompt before overwriting an existing file of the same name. This is a default value for the Save dialog.
IS there any flag which help me out from this issue..?? Or is there any other way to prevent the overwrite prompt while saving the file.
Please help me. Many thanks in advance..:)
IFileDialog::SetOptions(0)
to reset the value? – Edward Clements 9 hours agoIFileDialog
gives overwrite prompt, evenFOS_OVERWRITEPROMPT
flag is not set.. – AB Bolim 9 hours agoIFileDialog
myself, but CFileDialog works withdwFlags
set toOFN_HIDEREADONLY
– Edward Clements 9 hours agoCFileDialog
does not work in Win7, I meanOnInitDialog()
method ofCFileDialog
does not call in Win7, So that I am usingIFileDialog
. Is there any flag inIFileDialog
??? – AB Bolim 6 hours agoOnInitDialog
inherited function is not supported under Windows Vista (or later) -- do you do anything special inOnInitDialog()
? – Edward Clements 1 hour ago