Event notification for Document evennts.. Very Urgent Pls Help

B

Basavaraj

Hi All,
In my application, (i am using C and C++) i want to get notified when any
event occurs in a document which is opened programatically. I found som
earticles and help in Microsoft web site and i am able to recieve
notifications for the application object like, DocumentChanged() and Quit
with DISPIDs 2 and 3 respectively. For this, i used the Connection point
mechanism and i registered to get notified for the events for IID =
{0x000209f7,0x0000,0x0000,{0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46 } } but
not i am not able to understand how to get notifications when user saves the
ducument or user closes the document without saving and things like that. If
i have to use some other IID for the same, please help me out. Or if i have
to check some parameter when i recive application even DocumentChanged(),
please do suggest.
In any case, please post your suggestions/may be with piece of code to me .
Thanks in advance.

Regards,
-Basavaraj
 

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