Program does not return : goes to task-bar

Windows specific questions.
Theunis Jansen
Posts: 248
Joined: Jul 01, 2010 9:35

Program does not return : goes to task-bar

Postby Theunis Jansen » Mar 04, 2013 10:24

Whenever I use CHAIN, EXEC, SHELL, SHELL("start....") when the program ends my program ends up on the task bar and I then have to click on it to maximize it.

When using Shell("START ..../Max /WAIT) for two programs called directly after each other both the called programs are displayed.
for instance "Wordpad" and "timedate.cpl" are both displayed on the screen and when ending them my program is minimized.

Is there anything I can do to keep my program maximized ?
Theunis Jansen
Posts: 248
Joined: Jul 01, 2010 9:35

Re: Program does not return : goes to task-bar

Postby Theunis Jansen » Mar 06, 2013 9:48

Problem solved. This does not happen if I compile and run the compiled program.

This problem only occurs when I "Quick Run" the BASIC program.
TJF
Posts: 3604
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: Program does not return : goes to task-bar

Postby TJF » Mar 06, 2013 10:12

Thanks for clearing this.

But your information isn't very useful unless you name the IDE you're talking about.
Theunis Jansen
Posts: 248
Joined: Jul 01, 2010 9:35

Re: Program does not return : goes to task-bar

Postby Theunis Jansen » Mar 06, 2013 17:52

1. It does it for any 16 bit file. i.e QB compiled files.

2. FBide 0.4.6. When running from this IDE but as indicated from the EXE it is fine.

By the way this FBIde appears to have a bug as it does not list the latest loaded programs. It lists the first 9 files I loaded and thats that.
Theunis Jansen
Posts: 248
Joined: Jul 01, 2010 9:35

Re: Program does not return : goes to task-bar

Postby Theunis Jansen » Mar 07, 2013 13:23

One thing I forgot to mention is that it only comes back to my program if the program that was SHELLed etc is in the same directory.

If for instance I call a program from say C:\BASIC and the Windows program is in C:\WINDOWS it still leaves my program minimized on the task bar.

Has anyone found a way to get around this by any chance ?

Return to “Windows”

Who is online

Users browsing this forum: No registered users and 4 guests