[fpc-pascal]Re: How to resize window under win32? (Jeff Pohlmeyer)

Bernhard Steffen bernhard.steffen at gmx.net
Fri Feb 28 13:06:47 CET 2003

> > 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.steffen at gmx.net

More information about the fpc-pascal mailing list