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 :...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top