W
Walter Leinert
Hi,
i'm automating word (Office 2003) by a custom c# library. Since i want to
intercept close and save events i'm hooking the Application
DocumentBeforeClose and -Save events. In the DocumentBeforeSave event handler
i'm checking the saveAsUI parameter to display a custom dialog
(Application.Dialogs[OfficeApp.WdWordDialog.wdDialogFileSaveAs]). But for
replacing the builtin yesnocancel-Dialog which is showed in when closing a
modified document, i did not find a corresponding builtin word dialog. When
using a windows forms message box i get the effect of an eraser over the word
document window may be due the blocked internal event processing in word (the
BeforeClose and BeforeSave events are handled in dedicated threads).
Who can tell me who to use an word/office yesnocancel dialog which does not
block the word-internal event processing?
Regards, Walter
i'm automating word (Office 2003) by a custom c# library. Since i want to
intercept close and save events i'm hooking the Application
DocumentBeforeClose and -Save events. In the DocumentBeforeSave event handler
i'm checking the saveAsUI parameter to display a custom dialog
(Application.Dialogs[OfficeApp.WdWordDialog.wdDialogFileSaveAs]). But for
replacing the builtin yesnocancel-Dialog which is showed in when closing a
modified document, i did not find a corresponding builtin word dialog. When
using a windows forms message box i get the effect of an eraser over the word
document window may be due the blocked internal event processing in word (the
BeforeClose and BeforeSave events are handled in dedicated threads).
Who can tell me who to use an word/office yesnocancel dialog which does not
block the word-internal event processing?
Regards, Walter