P
PromisedOyster
Our application integrates tightly with Word using automation.
In certain instances we are finding that Word has a dialog open but the
user is not aware of this because Word does not have focus.
How can we force Word to get focus.
I have tried the following but to no avail:
_wordApp.ShowMe();
_wordDoc.ActiveWindow.SetFocus();
(If we control the opening of Word then this works OK. However, if
attach to an existing instance of Word AND it was already maximised
then this is where we have the issue).
In certain instances we are finding that Word has a dialog open but the
user is not aware of this because Word does not have focus.
How can we force Word to get focus.
I have tried the following but to no avail:
_wordApp.ShowMe();
_wordDoc.ActiveWindow.SetFocus();
(If we control the opening of Word then this works OK. However, if
attach to an existing instance of Word AND it was already maximised
then this is where we have the issue).