سؤال

I've been searching for an answer to this but can find anything on it.

In Word, when the user closes a document they are prompted with the "save", Cancel Save", "Cancel" dialog.

Is there a way to tell which one of those buttons the user clicked on?

I know the even DocumentBeforeSave is sent out, But I can't find a way to tell which button the user actually clicked on.

I need to know in particular if the user clicked the "Cancel Save"

Note: using c#; 2007 dll's

لا يوجد حل صحيح

نصائح أخرى

I am pretty sure that cancel save and cancel are the same thing. When a user saves a document, you will see a DocumentSave.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top