Import a 1.1 to 2.0 with change of resolution

  • Thread starter Rainer Borchmann
  • Start date
R

Rainer Borchmann

hi,

i know its a beginner question, but think
the community can help.
I importet (convertet) a XML Application
from 1.1CF to 2.0CF, runs fine.

But also i also changed the device to a
VGA Resolution device.
The application runs still in QVGA.
on a quart of the screen.
How can i change this problem ?
See here for my problem http://www.borchmann.de/test.htm

I want run the application on a VGA Device

Bye
Rainer
 
D

Darren Shaffer

you will need to inspect Screen.CurrentScreen.Width or Height and determine
at app startup if you are dealing with a VGA device. if so, you'll need to
code an alternate InitializeComponent method that scales and positions
your controls in such a way to accommodate the higher screen resolution.

see the MSDN article on Developing Resolution-Aware mobile applications.

--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 
S

Simon Hart

I didn't have much luck doing a conversion because the two designers are
complely different, but ensure AutoScaleMode is set to DPI.

Regards
Simon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top