D
danielkim
Hello,
My automation program had been working in XP, but in Vista, it seems that my
normal code (which is to call Activate) does not bring the Word application
window to the front. It does flash in the taskbar, but it does not bring it
to the top of the other windows.
Does anyone know how to do this? (besides calling Activate)?
An article I found online
(http://www.code-magazine.com/article.aspx?quickid=0301081&page=3) writes
about the same problem, and suggests calling "BringWindowToTop", but I don't
know how to get the CWnd object from the word application that I'm
automating... so if your solution is for me to call BringWindowToTop, then I
would also appreciate if you could give me a clue to how to get the hWnd
handler or just CWnd object from Word.
Thank you,
--Daniel
My automation program had been working in XP, but in Vista, it seems that my
normal code (which is to call Activate) does not bring the Word application
window to the front. It does flash in the taskbar, but it does not bring it
to the top of the other windows.
Does anyone know how to do this? (besides calling Activate)?
An article I found online
(http://www.code-magazine.com/article.aspx?quickid=0301081&page=3) writes
about the same problem, and suggests calling "BringWindowToTop", but I don't
know how to get the CWnd object from the word application that I'm
automating... so if your solution is for me to call BringWindowToTop, then I
would also appreciate if you could give me a clue to how to get the hWnd
handler or just CWnd object from Word.
Thank you,
--Daniel