Re: Full screen in Win95 Dos Window

new topic     » goto parent     » topic index » view thread      » older message » newer message

Terry Constant writes:
> When I am in a Dos window I
> have an annoying thing happening. The first time I run a Euphoria
> program in the Window, the screen pops to full-screen. I can
> restore the window and then run as many Euphoria programs
> as I want without problem.
> The going to full-screen only happens the first time a Euphoria
> program is run in that Dos window/session.

I'm not sure why this happens. It's not something that
Euphoria is doing deliberately. It seems that Win95 in its infinite
wisdom is trying to guess at whether the program
should be run full-screen or in a window.

I investigated this a couple of years ago. I don't
think making  a .PIF file for your application
will solve the problem. I believe the closest thing to a
solution is to put the following at the top of your .ex file:

include graphics.e
if graphics_mode(-1) then
end if

This will keep you in a window, but unfortunately
you'll get a lot of annoying screen flicker.

Regards,
     Rob Craig
     Rapid Deployment Software

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu