Doing cleanup on OneNote close event

D

dyowee

Good day!

I'm trying to write an add-in for an OneNote. My application allocates some
resources that needs to be released when OneNote is closed. Is there a way
that I can catch/intercept the close event of ON, prevent it from closing
while cleanup is happening, and probably pop-up a progress bar dialog box?
Is this possible in C#, or through interop with Win32 API?


Thank you very much.
 

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