Hi,

I'm working on an application with VS2005. I tried use game api to draw the
screen. it can work for drawing on the screen but the image is not as clear
as draw on the standard screen. But also, the words on the UI is so become
not as clear as the draw has not started. When i stoped the drawing those
words will become clear again. Can anyone tell me what's wrong with it and
how can i fix this problem? Thanks!!

Re: Problem with Game api on VGA Pocket PC 2003 by Yaroslav

Yaroslav
Fri May 26 07:20:40 CDT 2006

Take a look at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/dpi_awareness.asp
("GAPI Legacy Support" section).

It looks like in your case an emulation layer scales your drawing to fit the
screen. You should call ExtEscape to prevent this.

--
Yaroslav Goncharov
Spb Software House, http://spbsoftwarehouse.com
Pocket PC Developer Network, http://pocketpcdn.com


"Amy" <Amy@discussions.microsoft.com> wrote in message
news:A6E4DFD6-9D0D-44AB-83C5-6BB4BF558A05@microsoft.com...
> Hi,
>
> I'm working on an application with VS2005. I tried use game api to draw
> the
> screen. it can work for drawing on the screen but the image is not as
> clear
> as draw on the standard screen. But also, the words on the UI is so become
> not as clear as the draw has not started. When i stoped the drawing those
> words will become clear again. Can anyone tell me what's wrong with it and
> how can i fix this problem? Thanks!!



Re: Problem with Game api on VGA Pocket PC 2003 by Amy

Amy
Fri May 26 23:26:02 CDT 2006

Thanks! I had looked for the following article. But I'm using vb.net for
development. I had tried to import the System Metrics lib. But it is
unsuccessful. Is there any idea for solve this problem? Thanks!

"Yaroslav Goncharov" wrote:

> Take a look at
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/dpi_awareness.asp
> ("GAPI Legacy Support" section).
>
> It looks like in your case an emulation layer scales your drawing to fit the
> screen. You should call ExtEscape to prevent this.
>
> --
> Yaroslav Goncharov
> Spb Software House, http://spbsoftwarehouse.com
> Pocket PC Developer Network, http://pocketpcdn.com
>
>
> "Amy" <Amy@discussions.microsoft.com> wrote in message
> news:A6E4DFD6-9D0D-44AB-83C5-6BB4BF558A05@microsoft.com...
> > Hi,
> >
> > I'm working on an application with VS2005. I tried use game api to draw
> > the
> > screen. it can work for drawing on the screen but the image is not as
> > clear
> > as draw on the standard screen. But also, the words on the UI is so become
> > not as clear as the draw has not started. When i stoped the drawing those
> > words will become clear again. Can anyone tell me what's wrong with it and
> > how can i fix this problem? Thanks!!
>
>
>