ATL Word event sink for save function

T

Tom

I am writing this in C++ and ATL 3.0. I am able to successfully catch the
SaveAs and if I set the cancel pointer to 0, the built in Word save as
dialog does not appear. Everything seems good.

In the sink event that I catch for saving, if I call the active documents
saveas, it appears that some how Microsoft's pointers get messed up. Could
this happen?? Seem like Word is using the same memory space and that it
get's trashed when I call the saveas?

My goal is to hook into the Save function and put up my own dialog for
collecting information and saving the file.

Does anyone know of a work around if this is the case?


Thanks,
-Tom
 

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