Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Quickwin appears incompatible with Win 8.1 re screen resolution

$
0
0

My Quickwin programs feature project frame and child windows that have been carefully sized and positioned on the screen, with automatic detection for maximum screen size and appropriate adjustment when the exe's are run on various hardware setups. The programs were developed on XP and Win7.

I now have a Dell Venue 11 Pro running Win8.1. The window sizing and placing fail on this computer. They are generally too big; e.g. a project frame that is supposed to occupy say 0.9 of the screen width and height appears too big to even fit on the screen. This happens even when I build the program on the Dell.

I have traced the issue down to this. The windows screen utility claims that the screen resolution is 1680 x 1050. But the info returned by Quickwin function GETWSIZEQQ (QWIN$FRAMEWINDOW, QWIN$SIZEMAX, frinfo) returns frinfo%w = 1344 and frinfo%h = 790. If I code my program to create a window say 1200 pixels wide, I would normally expect it to occupy 1400/1680 = .83 of the screen width, but in fact it occupies 1400/1344 = 1.04 of the width--iow, it won't fit. It is doing what Quickwin tells it, but it no longer matches the screen's physical characteristics like it did in the past.

So evidence points to the screen having significantly fewer pixels than what Windows (or Dell) claims it has. But maybe the problem is just Quickwin: is it trying to draw everything using pixels that are bigger that what is on my screen?

Why doesn't the info returned by GETWSIZEQQ match the info returned by the Windows screen properties tool? It has always matched on my previous systems.


Viewing all articles
Browse latest Browse all 3270

Trending Articles