logo       

Re: Bug in GetSystemMetrics(SM_CYMENU) for WM 5.0 OS?: msg#00026

windows.ce.devel

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


For the menu bar window that I create I use a GetClientRect() call to
get the window height. I also have to add 2 or 4 pixels to that value
depending on it it is a QVGA or VGA device.

ppcinfo

--- In windowsce-dev@xxxxxxxxxxxxxxx, Freeman Ng <fng@xxxx> wrote:
>
> What was the hack?
>
> -----Original Message-----
> From: pocketpcinfo [mailto:pocketpcinfo@xxxx]
> Sent: Friday, November 04, 2005 12:25 PM
> To: windowsce-dev@xxxxxxxxxxxxxxx
> Subject: [windowsce-dev] Re: Bug in GetSystemMetrics(SM_CYMENU) for
WM
> 5.0 OS?
>
>
> Someone verified that they came across this same bug, and they used
a
> hack to get around it (which is what I was forced to do).
>
> ppcinfo
>
> --- In windowsce-dev@xxxxxxxxxxxxxxx, "Kevin R. Phillips"
> <KevinRPhillips@xxxx> wrote:
> >
> > Michael,
> >
> > I can't speak for "ppcinfo", but my application is VGA aware.
(And
> it works
> > fine on WM2003SE) I don't have WM5 yet so am only speculating if
> that's the
> > issue with my app.
> >
> > Kevin
> >
> > -----Original Message-----
> > From: windowsce-dev@xxxxxxxxxxxxxxx [mailto:windowsce-
> dev@xxxxxxxxxxxxxxx]
> > On Behalf Of Michael Salamone
> > Sent: Monday, October 31, 2005 9:48 PM
> > To: windowsce-dev@xxxxxxxxxxxxxxx
> > Subject: RE: [windowsce-dev] Bug in GetSystemMetrics(SM_CYMENU)
for
> WM 5.0
> > OS?
> >
> > 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-4
> > A4C-AB83-491FD5729551&displaylang=en
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise