Tip: full-screen session on Windows
Are you trying to run ProTop in a maximized proenv session?
Does it keep resizing on you to 160 x 48, no matter what you do with the Layout tab in proenv Properties?
Have you pulled out most of your hair?
Here's the tip:
- Edit <protop>\bin\protop.bat and <protop>\bin\protopenv.bat
- Comment out this line in each: mode con cols=%COLS% lines=%ROWS%
- Sweep up your hair.
Great tip Rob!
If I were a better BAT programmer I'd probably modify those scripts to only change the window size if it is too small. But the logic to figure that out eludes me.
Would these ConsoleAPI functions help?
Retrieves the size of the largest possible console window, based on the current font and the size of the display.
Sets the current size and position of a console screen buffer's window.
Off hand that sounds like a whole lot of windows gobbledy gook that probably isn't BAT file friendly...
It isn't batch-friendly directly. But a .bat can also invoke _progres.exe and run ABL, which can declare Windows functions as external procedures, so it might be possible to make it work.