Hi Dave, you said "Hang up" but did not specied how...
Now I understand Claudio how he feels when all saying: IDE is "crashing" (myself I am including)...
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
(sorry Claudio for that)
Sometimes users have no other way to define what and when something it is going wrong.
But it essential to understand what is exactly happening... poor info, hardest work for programmer to identify the problem.
This is a very old matter, if what I suppose to be your case: how to get focus at Word's child window (spelling window).
See at internet many discussions about it.
I said in my previous message to Serge it could be implemented the SearchWindow function... but it's not easy and right.
This SearchWindow function works with real title of window and this can differs by other reasons: Word version, local language...
I got a reasonable result but I think is not the best way to do garantee the focus.
I've took mixed examples:
IsExeRunning2 + SearchWindow with the difference it must be for CHILD window.
I also believe that Word spelling engine it's not the best way to check for control's speeling grammar check.
Sorry to say but I do not wish to spend more time in this... I would like to have our own spelling check.
I think my second option (suggested items) it's more practical and faster.
So test it and tell me if is working properly. For me It's ok here...
Gimme a return, please.