how to fix the monitor where an external application has to appear in VCL Posted March 23, 2021 Hello i have a pc with more monitors and i can execute a delphi program in any of them. The main program could launch an external program by ShellExecute ShellExecute(Handle,'open', Pchar(progname), nil, nil, SW_SHOWNORMAL) ; but i want that the external program being showed on the same monitor where actually main program has been executed. How to get it? Or there's another way than ShellExecute? Thans for your support
how to fix the monitor where an external application has to appear
in VCL
Posted
Hello
i have a pc with more monitors and i can execute a delphi program in any of them.
The main program could launch an external program by ShellExecute
ShellExecute(Handle,'open', Pchar(progname), nil, nil, SW_SHOWNORMAL) ;
but i want that the external program being showed on the same monitor where actually main program has been executed.
How to get it? Or there's another way than ShellExecute?
Thans for your support