VGA device (x50v) running WM 2003 SE OS:
GetSystemMetrics(SM_CYMENU) returns 52 pixels

VGA device (x50v) running WM 5.0 OS:
GetSystemMetrics(SM_CYMENU) returns 23 pixels

23 pixels is what should be returned for QVGA (lo-res) screen devices, not
VGA devices. Has anyone seen this issue? Could this be a bug in the WM 5.0
OS for VGA screen devices?

Thanks,

ppcinfo

Re: Bug in GetSystemMetrics(SM_CYMENU) for WM 5.0 OS? by Michael

Michael
Mon Oct 31 21:51:49 CST 2005

Probably emulation. Check the Developer Resources For Windows Mobile 2003
SE. It describes how to build your application to be hi-res aware. If not
hi-res aware, you get emulation mode.

http://www.microsoft.com/downloads/details.aspx?familyid=6A34DC83-C3CE-4A4C-AB83-491FD5729551&displaylang=en

--
Michael Salamone [eMVP]
Entrek Software, Inc.
www.entrek.com



"ppcinfo" <ppcinfo@yahoo.com> wrote in message
news:OJ4XMlm3FHA.700@TK2MSFTNGP15.phx.gbl...
> VGA device (x50v) running WM 2003 SE OS:
> GetSystemMetrics(SM_CYMENU) returns 52 pixels
>
> VGA device (x50v) running WM 5.0 OS:
> GetSystemMetrics(SM_CYMENU) returns 23 pixels
>
> 23 pixels is what should be returned for QVGA (lo-res) screen devices, not
> VGA devices. Has anyone seen this issue? Could this be a bug in the WM 5.0
> OS for VGA screen devices?
>
> Thanks,
>
> ppcinfo
>



Re: Bug in GetSystemMetrics(SM_CYMENU) for WM 5.0 OS? by ppcinfo

ppcinfo
Mon Oct 31 23:08:55 CST 2005

I get the correct results under the 2003 SE OS, but incorrect under WM 5.0
OS, so I don't think it's a emulation problem. My application is Hi-Res
aware under both OSes.

ppcinfo

"Michael J. Salamone" <mikesa#at#entrek#dot#com> wrote in message
news:uG9dXep3FHA.4076@TK2MSFTNGP15.phx.gbl...
> Probably emulation. Check the Developer Resources For Windows Mobile 2003
> SE. It describes how to build your application to be hi-res aware. If not
> hi-res aware, you get emulation mode.
>
> http://www.microsoft.com/downloads/details.aspx?familyid=6A34DC83-C3CE-4A4C-AB83-491FD5729551&displaylang=en
>
> --
> Michael Salamone [eMVP]
> Entrek Software, Inc.
> www.entrek.com
>
>
>
> "ppcinfo" <ppcinfo@yahoo.com> wrote in message
> news:OJ4XMlm3FHA.700@TK2MSFTNGP15.phx.gbl...
>> VGA device (x50v) running WM 2003 SE OS:
>> GetSystemMetrics(SM_CYMENU) returns 52 pixels
>>
>> VGA device (x50v) running WM 5.0 OS:
>> GetSystemMetrics(SM_CYMENU) returns 23 pixels
>>
>> 23 pixels is what should be returned for QVGA (lo-res) screen devices,
>> not VGA devices. Has anyone seen this issue? Could this be a bug in the
>> WM 5.0 OS for VGA screen devices?
>>
>> Thanks,
>>
>> ppcinfo
>>
>
>



Re: Bug in GetSystemMetrics(SM_CYMENU) for WM 5.0 OS? by rick

rick
Tue Nov 01 06:54:28 CST 2005

I have seen this on my Dell x51v (unfortunately, customers saw it
first).

My app is definitely hires aware and running in hires mode at the time.


I changed my code so that I determine the height of the menu bar based
on the screen resolution (if either dimension > 320, menu bar is 52
pixels high) and now I get the results I want.


Re: Bug in GetSystemMetrics(SM_CYMENU) for WM 5.0 OS? by ppcinfo

ppcinfo
Wed Nov 02 12:22:55 CST 2005

Yeah, I was forced to do the same thing. I hate having to put these kinds of
"hacks" into the coding, but I guess it's a necessary evil. Thanks for your
comments.

ppcinfo

"rick" <rickkozak@hotmail.com> wrote in message
news:1130849668.376064.241830@g44g2000cwa.googlegroups.com...
>I have seen this on my Dell x51v (unfortunately, customers saw it
> first).
>
> My app is definitely hires aware and running in hires mode at the time.
>
>
> I changed my code so that I determine the height of the menu bar based
> on the screen resolution (if either dimension > 320, menu bar is 52
> pixels high) and now I get the results I want.
>