
Signature
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
How does the system determine that it is a high resolution display on a
Pocket PC, so that it autoscales the controls?
BR
Ole
> The OS provides no mechanism to query the physical dimensions of the panel
> so I don't think there's any way to determine dpi.
[quoted text clipped - 13 lines]
>>>> Thanks,
>>>> Ole
Daniel Moth - 29 Mar 2007 14:49 GMT
You can query the resolution by looking at the DpiX/DpiY properties of a
Graphics object that you get e.g. from a Form.CreateGraphics.
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
> How does the system determine that it is a high resolution display on a
> Pocket PC, so that it autoscales the controls?
[quoted text clipped - 19 lines]
>>>>> Thanks,
>>>>> Ole
Ole - 30 Mar 2007 16:05 GMT
Great - thanks - works very well!
> You can query the resolution by looking at the DpiX/DpiY properties of a
> Graphics object that you get e.g. from a Form.CreateGraphics.
[quoted text clipped - 27 lines]
>>>>>> Thanks,
>>>>>> Ole