D
Daniel Kim
Hello
I'm using VS .NET, automating Word via C++ typelibrary. (but it's similar to the VB automation
I've basically set up a OnTimer call that checks the application object (pointer to the running Word application) every 3 seconds to see if it's still there, etc
Now, the problem is that I want to check to see if the word application that I'm automating has the focus or not. I want my dialog box (which assists the user to automate word) to come to the very top of the window Z order every time the Word application gets focus... Is there any way I can check this through automation? I don't think ActiveWindow property works, since it will still return something even if the Word Application does not have input focus
I would really appreciate any help in this
Thank you.
I'm using VS .NET, automating Word via C++ typelibrary. (but it's similar to the VB automation
I've basically set up a OnTimer call that checks the application object (pointer to the running Word application) every 3 seconds to see if it's still there, etc
Now, the problem is that I want to check to see if the word application that I'm automating has the focus or not. I want my dialog box (which assists the user to automate word) to come to the very top of the window Z order every time the Word application gets focus... Is there any way I can check this through automation? I don't think ActiveWindow property works, since it will still return something even if the Word Application does not have input focus
I would really appreciate any help in this
Thank you.