Handling Screen Resolution/Dimension

G

Guest

Hi

I have recently upgraded my current work project from Visual Studio .Net
2003 to Visual Studio 2005, and at the same time upgraded my C# application,
to use the latest version of the compact framework. CF2.0.

I have had to create a new cab file project to allow me to install my
application onto my mobile devices; I am using the smart device cab wizard to
do this.
I am now getting a problem when I install the application on to the DELL
AXIM that my application doesn’t scale to fit the screen resolution.
The Application Scales correctly on the Imate PDA-n.

I had read a posting about this and the solution was to change the
AutoScaleMode to Dpi.
I have made this change in all my applications forms but am still not
getting the application to scale to the screen size.

I was able to install my application onto the Dell Axim with the previous
version of Visual Studio and CF1
Am I missing something here?


Thanks in advance
Guus Davidson
 
F

Fabien

Hi,

If you have developped your own controls, you must call SuspendLayout
and ResumeLayout when you initialize the control, and check if you do
not have coordonates in pixels in your application.

BR


Fabien Decret
Windows Embedded Consultant


ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



Guus Davidson a écrit :
 

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