Page 1 of 1

GetAttribute(#DISPLAY, 0, #ATTRHOSTHEIGHT)return wrong value

Posted: Wed Jun 10, 2015 10:39 pm
by fingus
There seem to be a bug inside GetAttribute(#DISPLAY, 0, #ATTRHOSTHEIGHT), it return not the real Resolution of the host:

Image

http://www.scienide.de/error.jpg

Re: GetAttribute(#DISPLAY, 0, #ATTRHOSTHEIGHT)return wrong v

Posted: Thu Jun 11, 2015 12:02 am
by airsoftsoftwair
Can't reproduce this here.... what is the display device? Is this a tablet?

Re: GetAttribute(#DISPLAY, 0, #ATTRHOSTHEIGHT)return wrong v

Posted: Thu Jun 11, 2015 9:48 am
by fingus
airsoftsoftwair wrote:Can't reproduce this here.... what is the display device? Is this a tablet?
It´s the newest Surface 3 Tablet-/Notebook-Hybrid with Windows 8.1 and Intel Atom X7-Z8700 CPU/GFX with Physical 1920 × 1280 Pixel Resolution.

Re: GetAttribute(#DISPLAY, 0, #ATTRHOSTHEIGHT)return wrong v

Posted: Thu Jun 11, 2015 4:10 pm
by airsoftsoftwair
Ok, check your emails.

Re: GetAttribute(#DISPLAY, 0, #ATTRHOSTHEIGHT)return wrong v

Posted: Fri Jun 12, 2015 10:05 am
by fingus
@All:

Ist 100% sure that Windows 8.1 on Surface 3 Tablet return wrong values for #ATTRHOSTHEIGHT and #ATTRHOSTWIDTH, so this behavour isn´t the fault of Hollywood, Website Screenresolution detections return the same wrong values.

I´m investigating this further in the Company i work, i have Access to several Windows 8.1 and Tablet-Computers and will let you know whats going on.