[fpc-pascal]Re: How to resize window under win32? SOLVED

2003-03-03 Thread Martin Hankovec
Thanks you all. I use now FindWindow to get handle of application and then SetWindowPos...it works fine. (And it's important use WinExec instead of Exec, because Exec doesn't wait for starting of next application and the handle cannot be simply obtained) Thanks once again and have a good time Mar

[fpc-pascal]How to resize window under win32?

2003-02-27 Thread Martin Hankovec
Hello to all, please, I've this problem: I'm launching another program from Freepascal program through "exec" (under win32). Is any way how to set the position and size of started program (the program doesn't save it's position and size and starts always on the same bad position). So I need code th