How to get teturn code from the default dialogs in WORD..?

B

Basavaraj

Hi All,
I display aany default dialog in the word programatically..For example, i
display a SaveAs dialog when i want to save a file programatically...So, when
i display that dialog, can i get the return code whether user has pressed the
Save button or the cancel button..? I hope that this is very much possible..

Early response will me much appreciated.
Thanks in advance.
 
B

Basavaraj

Yeah, that did help me..
Nice one...I get -1 when user presses Save and 0 when he presses Cancel..
And one more thing is, even if i dont display the dialog and user brings the
Dilaog though word itself, i mean, when he presses Save / Save as menu, that
time also
will i be able to get the return code irrespective whether i bring up the
dialog programatically or user brings up himself in word directly..? this may
help me alot.

Thanks for the earlier response, and thanks in advance for the answer for
current question.
 
B

Basavaraj

Can i get something like, Notification when user really saves the document.?
This is what i wanted...If the user saves the document, i wanted to
something.If user presses Cancel on the Save As dialog, i dont try to do
anything..How is this possible..? It will be very nice if i get help in C++,
otherwise also its fine, let me have an answer first..

Thanks in advance.
 

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

Top