FindWindow Word2003 problem
-
Hello everybody, i'm using Word automation to generate some data reports in word for printing. Because my program is a top-level window i need to bring the word window to the top level to make it accessible. I use a method explained here. This method of changing the caption with automation and find it with the API FindWindow works like a charm with Word97. But with Word 2003 the FindWindow API finds nothing :( . I searched a couple of hours on the internet, but I can't seem to find some answer/hint on how to pull it off. All suggestions are welcome :). Greets Remco.
-
Hello everybody, i'm using Word automation to generate some data reports in word for printing. Because my program is a top-level window i need to bring the word window to the top level to make it accessible. I use a method explained here. This method of changing the caption with automation and find it with the API FindWindow works like a charm with Word97. But with Word 2003 the FindWindow API finds nothing :( . I searched a couple of hours on the internet, but I can't seem to find some answer/hint on how to pull it off. All suggestions are welcome :). Greets Remco.
-
you can use SPY++ to find Word 2003 window,then you can get some information about the Word 2003 window,it help you to use the API FindWindow function.