Different screen sizes

L

Lonifasiko

I've already read many different articles about your application being
screen-orientation arare and dpi aware.

You know all devices have got different screen sizes. My application
should target as much devices as it could, and the application should
be shown in maximized mode all the time, without letting the user do
anything appart from interacting with the application. They cannot
click on "Start".......you know, I'm targeting elderly people.

How to control the issue of adapting the different forms and controls
inside them, to these different screen sizes? Should I define the
minimun screen size among all devices and adapt my application to this
device. I think it's not the idea because devices with higher screen
sizes would display large blank spaces on screen :-(

Any help will be greatly appreciated.

Thanks very much in advance.
 
R

Romain TAILLANDIER

Hi Lonifasiko,

I had the same problem.
In my opinon, there is no simple solution. Funtions to calculate screen size
exists, so you can use it to know where you are.

Then, you have to redesign your interface dynamically.
in fact there is no so much interface you have
240x320 PPC
640x240 semi VGA
640x480 VGA
600x800 Tablet PC
and all of them have 2 direction (vertical or horizontal)

so using a big switch, you relocate all of the controls for each screen size
....

for me there is no other posibilities. (if you found a beter, please tell me
:) )

gook luck,
ROM
 
L

Lonifasiko

Thanks Romain,

I now see that it's the unique solution, that is, build separate layout
code.

You mean that all PPCs in maximized mode run at 240x320 screen? That
would solve my problem! In fact, there wouldn't be any problem! Would
be great but I'm afraid it's not that way. Different devices will have
different screen sizes, although all being in maximized mode, I
understand. Correct me please if I'm wrong.

Thanks very much.
 
I

Ilya Tumanov [MS]

That used to be the case till Pocket PC 2003 SE release. Today PPC can run:



240x240

240x320 and 320x240 landscape

480x480

480x640 and 640x480 landscape


Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
K

Knight

you can also use the shfullscreen api in the onpaint event to make it
full screen after the messageBox ..
 
K

Knight

In fact use the shfulscreen in the onactivate fn .. or ongotfocus to
make it full proof
 

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