Hello sun_shb, I tried it with spy++, i used the class of the word window and the custom caption i gave it, but still FindWindow is unable to find it.
rem c
Posts
-
FindWindow Word2003 problem -
FindWindow Word2003 problemHello 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.
-
TCP/IP stack for windowsI believe the window TCP/IP stack is based on that of the BSD unix variants. So maybe you can download the BSD stack source for some info. greetings rem-c
-
Control ghosting during dialog resizethanks for the fast replies, i will try your suggestions :)
-
Control ghosting during dialog resizeHello guys, i'm stuck with this problem, i wrote a class wich handles the resizing en reposition of controls when a dialog resizes, but the problem is when I resize the dialog from the top or from the bottom you see a ghost of the control. This gives the effect that the controls are shaking during a resize. The problem I think is, is that when MFC resize the dialog it updates the dialog and it's controls so you will see the controls with their previous x & y coordinates, then mfc calls my overriden onsize where i update the controls coordinates and size and repaint the dialog. So my question is how can i stop mfc from repainting the dialog when is resized so i can do this manual after mine onsize. I checked other implementations of the CResizableDlg classes articles here, but they seem to have the same problem. Anyone got some suggestions :confused: Thanks Remco