relic91
2005-06-30 19:50:01 UTC
(Using a VB.Net COM Add-In)
The "FileVersions" Dialog in Word (WdDialogFileVersions) seems to be
returning the value -1 if the "Close" button on the main dialog is, as well
as -1 if the "Save" button on the wdDialogFileSaveVersion (which it calls) is
hit. According to documentation, in the former case, it sounds like this
ought to be returning -2. Any thoughts?
Also, because WdDialogFileVersions calls wdDialogFileSaveVersion, is there
any way to intercept the return value in the middle? That is, can I return
from the first dialog before it calls the second, and know what button was
pushed? (Using either display or show I seem to lose control until either the
close button in the first dialog is hit or the save button in the called
dialog is hit).
Thanks
The "FileVersions" Dialog in Word (WdDialogFileVersions) seems to be
returning the value -1 if the "Close" button on the main dialog is, as well
as -1 if the "Save" button on the wdDialogFileSaveVersion (which it calls) is
hit. According to documentation, in the former case, it sounds like this
ought to be returning -2. Any thoughts?
Also, because WdDialogFileVersions calls wdDialogFileSaveVersion, is there
any way to intercept the return value in the middle? That is, can I return
from the first dialog before it calls the second, and know what button was
pushed? (Using either display or show I seem to lose control until either the
close button in the first dialog is hit or the save button in the called
dialog is hit).
Thanks