For Programmers: Free Programming Magazines  


Home > Archive > Cobol > January 2006 > Maximized Screen with Acucobol-GT









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Maximized Screen with Acucobol-GT
Gerhard

2006-01-27, 6:55 pm

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

Richard

2006-01-27, 6:55 pm

> 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.

Michael Mattias

2006-01-27, 6:55 pm

"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



epc8@juno.com

2006-01-27, 6:55 pm


Gerhard 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.

Russell

2006-01-28, 6:55 pm

"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.
yogibear

2006-01-30, 6:55 pm

With 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.

Michael Wojcik

2006-01-31, 6:55 pm


In 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com