Hi PBCC-ers! glad to see I'm not the only one still using it, and I hope to hear soon about a new version of PBCC.
My huge aircraft design code is coded in PBCC with Eric's Contools/GFX. It runs great on Win XP and Win7.
In Win10 the graphics screen winds up about 15% smaller in width and height, with the console background color showing at right and bottom. Worked fine before, and I've tried with EXE compiled on the old XP as well as on the new machine.
Has anybody run into anything similar, and is there an "oh, do this" sort of thing? I've tried different Compatability modes which don't help. Doing "Disable Display Settings on High DPI settings" makes the graphics window too large relative to the console.
If anybody wants to ponder this, commands I'm using are:
ConsoleWindow %WINDOW
ConsoleWindow %SHOWNORMAL
lResult& = ConsoleIsFullScreen
ConsoleInfo(%DESKTOP_WIDTH) and with other options
ConsoleMetrics(%COL_WIDTH) and with other options
ConsoleControl %BUFFER_WIDTH, #
ConsoleControl %BUFFER_HEIGHT, #
ConsoleStretch 'can't exactly fill screen with integer number of columns
lResult& = ConsoleGfx(0,0,0,0)
CALL GETSCREENSCALES(NumCol,NumRow,nXu,nYu,nXp,nYp) ...it seems that nXu and nYu are incorrect here
If anyone wants to really have a look, I'll clean up and post the whole source code of this part. But I'm hoping this will ring a bell to someone.
My huge aircraft design code is coded in PBCC with Eric's Contools/GFX. It runs great on Win XP and Win7.
In Win10 the graphics screen winds up about 15% smaller in width and height, with the console background color showing at right and bottom. Worked fine before, and I've tried with EXE compiled on the old XP as well as on the new machine.
Has anybody run into anything similar, and is there an "oh, do this" sort of thing? I've tried different Compatability modes which don't help. Doing "Disable Display Settings on High DPI settings" makes the graphics window too large relative to the console.
If anybody wants to ponder this, commands I'm using are:
ConsoleWindow %WINDOW
ConsoleWindow %SHOWNORMAL
lResult& = ConsoleIsFullScreen
ConsoleInfo(%DESKTOP_WIDTH) and with other options
ConsoleMetrics(%COL_WIDTH) and with other options
ConsoleControl %BUFFER_WIDTH, #
ConsoleControl %BUFFER_HEIGHT, #
ConsoleStretch 'can't exactly fill screen with integer number of columns
lResult& = ConsoleGfx(0,0,0,0)
CALL GETSCREENSCALES(NumCol,NumRow,nXu,nYu,nXp,nYp) ...it seems that nXu and nYu are incorrect here
If anyone wants to really have a look, I'll clean up and post the whole source code of this part. But I'm hoping this will ring a bell to someone.
Comment