Code Comments
Programming Forum and web based access to our favorite programming groups.Hello, i am converting character based applications from a unix system to run on windows systems. The applications on the target system are still character based, i.e. they run in a window containing 25 lines with 80 characters each. My customer wants that the application's window runs in full screen mode. Reading the manuals up and down i could not figure out how this can be done. Does anyone know if this is possible and what needs to be configured. The window should have the same appearance as a dos-shell-window when you press ALT-Return. I am using Acucobol GT version 5.2.1.1 running on Windows XP, the programms are compiled using ccbl32.exe and run using wrun32.exe Thanks Gerhard
Post Follow-up to this message> The window should have the same appearance as a dos-shell-window > when you press ALT-Return. Win32 Console windows are not DOS boxes and, as far as I could determine, cannot be a 80x25 full screen.
Post Follow-up to this message"Richard" <riplin@Azonic.co.nz> wrote in message news:1138390998.954034.88640@f14g2000cwb.googlegroups.com... > Win32 Console windows are not DOS boxes and, as far as I could > determine, cannot be a 80x25 full screen. The SetConsoleScreenBufferSize API function enables setting of number of rows and columns for the console. MCM
Post Follow-up to this messageGerhard wrote: > Hello, > > i am converting character based applications from a unix system to run > on windows systems. The applications on the target system are still > character based, i.e. they run in a window containing 25 lines with 80 > characters each. > My customer wants that the application's window runs in full screen > mode. Reading the manuals up and down i could not figure out how this > can be done. > Does anyone know if this is possible and what needs to be configured. > The window should have the same appearance as a dos-shell-window when > you press ALT-Return. > > I am using Acucobol GT version 5.2.1.1 running on Windows XP, the > programms are compiled using > ccbl32.exe > and run using > wrun32.exe > > Thanks > > Gerhard Right click to set up the properties of the shortcut that runs the application. Under Options check Full Screen. If you have compiled a console application it will run in full screen mode.
Post Follow-up to this message"Gerhard" <gh@tartufo.de> wrote in news:1138375434.786616.308590 @g49g2000cwa.googlegroups.com: > Hello, > > i am converting character based applications from a unix system to run > on windows systems. The applications on the target system are still > character based, i.e. they run in a window containing 25 lines with 80 > characters each. > My customer wants that the application's window runs in full screen > mode. Reading the manuals up and down i could not figure out how this > can be done. > Does anyone know if this is possible and what needs to be configured. > The window should have the same appearance as a dos-shell-window when > you press ALT-Return. > > I am using Acucobol GT version 5.2.1.1 running on Windows XP, the > programms are compiled using > ccbl32.exe > and run using > wrun32.exe > > Thanks > > Gerhard > You can get close to full screen with the correct font.
Post Follow-up to this messageWith ACUCOBOL-GT you can run a DOS like application in a variety of ways. You should get a copy of what is known as the console runtime crun.exe from Acucorp and see if that does the trick. The wrun32 does some screen initialization, you can put ina single display window statement before your first programatic display. The display window statement has a number properties to control lines (depth), size (width), fore-ground and back-grpound colors as well as font if you want "GUI" controls placed on the screen based on a particular font size.
Post Follow-up to this messageIn article <1138390998.954034.88640@f14g2000cwb.googlegroups.com>, "Richard" <riplin@Azonic .co.nz> writes: > > Win32 Console windows are not DOS boxes and, as far as I could > determine, cannot be a 80x25 full screen. Unless I misunderstand, you're mistaken (though Microsoft does not go to any trouble to document this mode). Open a Win32 console window, set its size to 80x25 (using the Properties menu), then press Alt- Enter to go to full-screen mode. That gives you a full-screen text- mode 80x25 display. (Exiting from the shell or pressing Alt-Enter again returns to the GUI display, as does running a GUI-mode Windows program from the shell.) I agree that it wouldn't be accurate to call this a "DOS box", though, since it's a full Win32 cmd shell. If you run a 16-bit realmode DOS program in it, it'll run in virtual-x86 mode, of course. -- Michael Wojcik michael.wojcik@microfocus.com But I still wouldn't count out the monkey - modern novelists being as unpredictable as they are at times. -- Marilyn J. Miller
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.