Hi there,
I am trying to find the screen resolution of the pocket pc, it works
fine with GetSystemMetrics() API for Non-VGA mode but For VGA mode it
displays the same resolution as Non-VGA. Is there a way to know whether
a pocket pc is in VGA mode or Non-VGA mode.

Any Reply is welcome .

Re: How to Determine whether a pocket pc is VGA mode or not. by Vladimir

Vladimir
Fri Feb 18 01:09:25 CST 2005

Hi,

While an application is not HDPI aware, all API calls will return QDPI
values (240 * 320).
Add in your application HI_RES_AWARE resource.
For the more information see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwm2k3/html/dpi_awareness.asp

--
Best regards,
Vladimir Zinin
mailto:zinin@eldos.org


mohitchawla1@gmail.com wrote:
> Hi there,
> I am trying to find the screen resolution of the pocket pc, it works
> fine with GetSystemMetrics() API for Non-VGA mode but For VGA mode it
> displays the same resolution as Non-VGA. Is there a way to know whether
> a pocket pc is in VGA mode or Non-VGA mode.
>
> Any Reply is welcome .
>