Hello Victor,
Thanks for the response. I understood your point here.
Actully I am using OFN_OVERWRITEPROMPT flag to generate a message box for file already exist.
My actual requirement is to display 2 messages to resolve below purpose->
After user clicks on 'OK' button of "File already exist" dialog box then I am not aware about point <2> how to display error message for "File is already open or in use".Code:<1> If file already exist(that has been resolved by using OFN_OVERWRITEPROMPT flag) <2> If file is already open or in use and user is trying to save the same file.
I hope above explanation gives better idea about my actual requirement.
Thanks.




Reply With Quote