> Obviously the LogPixels and PixelsPerYLogicalInch values of 96 are not
> truely pixels per REAL inch, which I have calculated to be about 85.
They're from the font setting (96 PPI for
normal fonts and 120 PPI for large fonts).
I don't think there's any reliable way to know
an actual inch. It doesn't seem to be availble
in WMI, as you've found out. It's allegedly available
with the API GetDeviceCaps but I don't think that works.
(According to the author of Win32 API Programming
with Visual Basic, on NT systems he always gets
320 and 240 on a 21 inch monitor for the HORSIZE /
VERTSIZE data from GetDeviceCaps. It's supposed
to return actual screen size in MM!)
Unless there's a monitor INF file that gives the info.
then I don't think it's possible. And when you think
about it, that makes sense. How could Windows
measure the screen, after all? And even if it could,
monitor controls generally allow some leeway in the
actual size of display on the screen, so even the actual
physical screen size would not be an absolute value.
> Does anyone have script to share that can get the actual physical size of
> laptop's screen?
> -Paul Randall