Hi, I have an application written on a windows mobile 5 device. I just
recently picked up a windows mobile 6 VGA device and my application
only covers 1/4 of the screen. I've verified the sizes and have it
maximized. Has anyone else run into this? Is there a way to have it
cover the whole window without re skinning the app? This app was
written in VB in Visual Studio 2005.

Thanks for any help...

Re: VGA pocketpc resize by r_z_aret

r_z_aret
Thu Dec 06 07:29:54 PST 2007

On Wed, 5 Dec 2007 08:44:07 -0800 (PST), John
<johnwadeunderwood@yahoo.com> wrote:

>Hi, I have an application written on a windows mobile 5 device. I just
>recently picked up a windows mobile 6 VGA device and my application
>only covers 1/4 of the screen. I've verified the sizes and have it
>maximized. Has anyone else run into this? Is there a way to have it
>cover the whole window without re skinning the app? This app was
>written in VB in Visual Studio 2005.

You've got a low-resolution app on a high-resolution screen. See
Developing DPI-Aware Applications (Pocket PC (General) Technical
Articles):
http://msdn2.microsoft.com/en-us/library/ms838191.aspx
(NOTE: I had a link to this that no longer works, so I just went to
www.microsoft.com and searched for the title. I wish Microsoft would
stop moving things around!!!@#@#$)


>
>Thanks for any help...

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Re: VGA pocketpc resize by John

John
Thu Dec 06 15:13:31 PST 2007

Just Discovered a little more info in case that helps anyone...

If I create a project in visual studio 2003 on a windows mobile 6
device, add a back ground picture box image and 2 picture boxes that
are used as buttongs and manually set the size and location of each
picture box, It fills the entire screen as expected.

If I convert this to 2005 visual studio it still looks fine.

After I update to sdk 2.0 it uses 1/4 of the screen. This is on a
windows mobile 6 device. I'm not sure why the scaling is not correct
or
how to fix it.

I can force the background image to use the whole screen by stretching
it, but my other two picture boxes do not scale correctly. This
give any hints to what is going on?

Thank you for the link below, but it might be a little low level for
the .net framework I'm using.

Thanks for any help

Re: VGA pocketpc resize by ctacke/>

ctacke/>
Thu Dec 06 17:53:03 PST 2007

You need to set the AutoScaleMode property of the Form to Dpi;


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"John" <johnwadeunderwood@yahoo.com> wrote in message
news:f39db3d8-58ac-4b84-b732-62af8aeb3a49@w28g2000hsf.googlegroups.com...
> Just Discovered a little more info in case that helps anyone...
>
> If I create a project in visual studio 2003 on a windows mobile 6
> device, add a back ground picture box image and 2 picture boxes that
> are used as buttongs and manually set the size and location of each
> picture box, It fills the entire screen as expected.
>
> If I convert this to 2005 visual studio it still looks fine.
>
> After I update to sdk 2.0 it uses 1/4 of the screen. This is on a
> windows mobile 6 device. I'm not sure why the scaling is not correct
> or
> how to fix it.
>
> I can force the background image to use the whole screen by stretching
> it, but my other two picture boxes do not scale correctly. This
> give any hints to what is going on?
>
> Thank you for the link below, but it might be a little low level for
> the .net framework I'm using.
>
> Thanks for any help



Re: VGA pocketpc resize by John

John
Fri Dec 07 09:15:51 PST 2007

I have set the autoscale to DPI on the form.. Thank you though.. I
appreciate any suggestions!!!

Re: VGA pocketpc resize by John

John
Tue Dec 11 10:38:03 PST 2007

On Dec 7, 10:15 am, John <johnwadeunderw...@yahoo.com> wrote:
> I have set the autoscale to DPI on the form.. Thank you though.. I
> appreciate any suggestions!!!

Any other suggestions?

Re: VGA pocketpc resize by John

John
Wed Jan 02 15:31:19 CST 2008


ANy suggestions?

Re: VGA pocketpc resize by Malleswar

Malleswar
Thu Jan 03 05:01:56 CST 2008

On Jan 3, 2:31=A0am, John <johnwadeunderw...@yahoo.com> wrote:
> ANy suggestions?

Did u set strech mode for picture box. Is it coming even though u kept
Sizemode as Strech Image in PictureBox properties.

Please Let me know. Because earlier I faced these type of problem. But
could solve this myself.