Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Maximized Screen with Acucobol-GT
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


Report this thread to moderator Post Follow-up to this message
Old Post
Gerhard
01-27-06 11:55 PM


Re: Maximized Screen with Acucobol-GT
> 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.


Report this thread to moderator Post Follow-up to this message
Old Post
Richard
01-27-06 11:55 PM


Re: Maximized Screen with Acucobol-GT
"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




Report this thread to moderator Post Follow-up to this message
Old Post
Michael Mattias
01-27-06 11:55 PM


Re: Maximized Screen with Acucobol-GT
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.


Report this thread to moderator Post Follow-up to this message
Old Post
epc8@juno.com
01-27-06 11:55 PM


Re: Maximized Screen with Acucobol-GT
"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.

Report this thread to moderator Post Follow-up to this message
Old Post
Russell
01-28-06 11:55 PM


Re: Maximized Screen with Acucobol-GT
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.


Report this thread to moderator Post Follow-up to this message
Old Post
yogibear
01-30-06 11:55 PM


Re: Maximized Screen with Acucobol-GT
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

Report this thread to moderator Post Follow-up to this message
Old Post
Michael Wojcik
01-31-06 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:17 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.