Menu

#594 Windows Blue Bar Placement too high

open
v1ctor
compiler (247)
2012-10-09
2012-03-13
asimovone
No

Windows Blue Bar Placement too high & disappearing off the top of the screen. Windows

This happens if you are testing code with screen heights larger than your desktop height. Please Note one often codes / debugs at say 800x600 but the prog you are writing is destined to run at a higher resolution eg 1366 x 768. This is done for readability of code and not constantly having to switch resolutions every 2 minutes

Solution is to simply reduce the height multiplier by about 1/3rd or.... ( you can grab the blue bar of a low window and raise it but you cant grab it if its too high and off screen )

OR If screenres height > desktop height then place window top left ( 0x,0y )

That would be safe & welcome behavior, the height being the problem so the height can be the trigger

While this may seem a trivial bug caused by programmers behavior eg desire to write & test their code in a lower resolution

It seems easily fixable by altering a single line of compiler code or adding a couple of line to implement ' If screenres height > desktop height then place window top left ( 0x,0y ) ' It seems a safe fix with minimal impact any other part. Nice little gain for very little pain.

I would class it as keeping the FBcompiler behavior tidy

http://www.freebasic.net/forum/viewtopic.php?f=6&t=19557

Discussion


Log in to post a comment.

MongoDB Logo MongoDB