> > I'm launching another program from Freepascal program through
> > "exec" I need code that can set the position and size of the
> > started program.
> 
> I haven't used Windows in a while, but I think you need
> CreateProcess() instead of WinExec()
> [...]

If you have access to the source code of the launched program, you can
use the SetWindowPos function to set the window position and size from
within that program.

Bernhard

-- 
[EMAIL PROTECTED]
http://www.bernhard-steffen.de/

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to