Page 2 of 2
Posted: Mon May 10, 2004 8:17 pm
by Palpatine
Ah I see, thanks.
I tried to run it but it gives an error. It is a bit like what I am doing I think. However, if I build in IsScreenActive() to check if the screen is opened, how will that help me?
I already tried another openscreen() command after the calling of the external program, to see if that works, but it just gives errors.
Cheers,
Ron
Posted: Tue May 11, 2004 7:24 am
by fweil
...,
If you can-t find your way as I suggest in the posted code , aybe you should try to use a regular window with an windowedscreen sinside ?
...
Posted: Tue May 11, 2004 7:30 am
by Palpatine
fweil wrote:...,
If you can-t find your way as I suggest in the posted code , aybe you should try to use a regular window with an windowedscreen sinside ?
...
I coould do that, but will that do the trick? I mean, then the program's window will no longer close when starting an external application?
Cheers,
Ron
Posted: Tue May 11, 2004 8:24 am
by fweil
So you could iconize your window in the meanwhile.
When executing RunProgram(..., 0) it waits the external called program returns before to continue the caller ...
Posted: Wed May 12, 2004 6:44 am
by Palpatine
Hi,
fweil wrote:So you could iconize your window in the meanwhile.
When executing RunProgram(..., 0) it waits the external called program returns before to continue the caller ...
Ok, but it won't close the window, right? I could just "runprogram" calc.exe (example) and have it run on top of my window right?
When I tried this in screen mode the screen either closed or the program froze.
Cheers,
Ron
Posted: Wed May 12, 2004 9:13 am
by Palpatine
fweil wrote:So you could iconize your window in the meanwhile.
When executing RunProgram(..., 0) it waits the external called program returns before to continue the caller ...
Ok thanks! This more or less does the trick
Cheers,
Ron