Dual windows

BlitzPlus Forums/BlitzPlus Beginners Area/Dual windows

dna(Posted 2012) [#1]
Hello.

I'm using Blitz Plus for something simple. The header looks like this:

GRA_WID=800:GRA_HEI=600
Graphics GRA_WID,GRA_HEI,0,2


but when I run the program, which is only stripping the date off the currentdate$() function, I get two windows, one that has the program that I'm executing and the other which is blank.

The program will not terminate unless I bring the blank window from the background to the forreground and then I can use whatever terminating key I have programmed into the source.

What is wrong with the application?


dna(Posted 2012) [#2]
I reinstalled the software and still have the problem.
The only way to quit the program now is to use the checkbox


Dabhand(Posted 2012) [#3]
If your doing something like this:-

Graphics 640,480,16,2

Local something$ = "Something"
Print "Console: " + something$

Repeat
Cls
Text 0,0,"Win32: " + something$
Flip
Until KeyDown(1)


Then this will open up two windows, one a normal Win32 window which contains a graphics context (This window is the one that picks up keypresses), and a console window.

So, I'm guessing your using the Print command in there somewhere, remove that, and then it should only create one window which will be the Win32 one.

Dabz