1.

Solve : Window display?

Answer»

I have a program that runs through DOS and while I can get the SCREEN to be a full screen, the data inside only takes up the top half of the screen. How do I get the program to use the full screen? When I set it up, I selected that option, but it's still not working.Try pressing [Alt]+[Enter]

Is that the result you are looking for?Just curious, is there anyway to script that action ??

Cheers,
CameronI think that Windows will remember a fullscreen the next time you run the program.

As far as scripting it inside a batch file ... I think you will need the help of VB or assembly for that. I'll see if I can dig out my assembly books to script a solution tomorrow.Many thanks Gary.
So long as you don't have to spend too much time hunting it down - it is the w/end after all.

Again, thanks for the follow-up. Hey Gary,

Hope you had a good w/end.
Any success find searching for a solution in your diggings ?

Cheers,
CameronHey, CAMERON. Yes, had a good WEEKEND. And you?

I did some searching but haven't found anything to work yet. I tried emulating Alt+Enter in VB (through a batch file) and that didn't work. I also found some assembly code that is supposed to "toggle windowed mode" (int 2f, ax=0x1684) that can be assembeled in a batch file with debug, but that didn't work either.

I have some code that will emulate KEYSTROKES (int 16, ah=0x05) that may work, but I have to figure out the scancode for Alt+Enter to test it. I should be able to get to that today.

I'll let you know what I find.Scancodes:

http://www.torsten-horn.de/techdocs/ascii.htm


hope it helps
uliThanks for the scancodes ... but my int 16 idea didn't work either. I GUESS the next step is to try forcing a video mode. I'll see what I can find on that and let you know.



Discussion

No Comment Found