[Word Add-In] Get the focus on a new open windows

J

jchazottes

Hello,

I am dealing with the Word._Application.Open method to Open a document
from my addin.
When I use this method, Word create a new windows with my document
inside but the focus is not on the newly created windows but on the
"Document1" windows.

How can I tell word to open my document in the "Document1" windows (if
there is no real document inside) or how to set the focus to my newly
created windows ?

Oh and take a look at this:
http://msdn2.microsoft.com/en-us/li....interop.word._application.dummy1(VS.80).aspx
:)

Thank you.
 

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