How to avoid Save dialog in Active document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all:
I have create a both container and server's Active document ,it works well when open a document in IE,
but when user close IE, it prompt a dialog : this document has been modified.Do you want to save changes? yes :...
I don't want to prompt the dialog, how to disabled it?

Best regards.
 
Hi,

If you are using a CDocument based Document class you may override
SaveModified function

virtual BOOL SaveModified( );

Hope this can help

Thanks,
Mohamed
Andrew said:
Hi all:
I have create a both container and server's Active document ,it works
well when open a document in IE,
but when user close IE, it prompt a dialog : this document has been
modified.Do you want to save changes? yes :...
 
Back
Top