Screen display specification

New to FreeBASIC? Post your questions here.
badidea
Posts: 2586
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: Screen display specification

Post by badidea »

rogerbohl wrote:Found the cause of the problem and the solution:

Problem:
Evidently, Windows uses Notepad to generate the screen display and print output. It is this program that generates the margins, including one at the top that pushes the content off the bottom of screen.

Solution:
It is possible to set the margins within Notepad++, but it takes some extra work with Windows registry to retain them for the next call.

I found the answer on line. It may have been the following, and did the job for me, but you should do your own research.

https://www.itprotoday.com/management-m ... p-settings
I have never used Windows 10 before, but last time I did use Windows, Notepad and Notepad++ were plain text editors to edit, load and save plain text files.
And before you start playing with the windows registry and possibly mess up your new Windows installation, try a smaller window e.g ScreenRes 800, 600 in your program, attach a monitor with higher vertical resolution or try full screen mode (ALT+ENTER) when the program is running (if that still work on Windows 10).
The cause is simply that your program window with its window-borders does not fit on your desktop / monitor.
The hyper-link you posted has nothing to do with the problem.
Next time you buy a new computer check the screen resolution first, 768 pixels high is a bit limited these days, as you have discovered. The screen quality is one of the most important parts of a laptop for a good experience.
St_W
Posts: 1619
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Screen display specification

Post by St_W »

Also make sure that you do not run into hidpi issues.
see example applications:
http://users.freebasic-portal.de/stw/fi ... e-demo.zip
http://users.freebasic-portal.de/stw/fi ... orInfo.zip

you can find other threads on this forums discussing possible issues and solutions in detail
Post Reply