Be careful when using that approach on device's that support rotation...
form to another when you swap them during rotation.
"<ctacke/>" <ctacke_AT_OpenNETCF_com> wrote in message
news:One1wCk1FHA.3856@tk2msftngp13.phx.gbl...
>A third approach is to generate Forms for each target resolution (there
>aren't an infinite set yet) and decide at run time which to use.
>
> -Chris
>
>
> "Daniel Moth" <dmoth74@hotmail.com> wrote in message
> news:OAnhYtj1FHA.2932@TK2MSFTNGP10.phx.gbl...
>> ...also a fallback would be to show scrollbars so all content can be
>> viewed... ugly but functional.
>>
>> Cheers
>> Daniel
>> --
>>
http://www.danielmoth.com/Blog/ >>
>> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
>> news:%23N%23kN1i1FHA.2884@TK2MSFTNGP09.phx.gbl...
>>> It's basically the same problem. If you want to create a single form
>>> which adapts to multiple screen sizes you can use the same techniques,
>>> lay out your designer for one particular layout, then handle the Resize
>>> event of the form and change your layout based on the forms size at
>>> runtime.
>>>
>>> Peter
>>>
>>> --
>>> Peter Foot
>>> Windows Embedded MVP
>>>
http://www.inthehand.com |
http://www.peterfoot.net >>>
>>> "Lonifasiko" <mloichate@gmail.com> wrote in message
>>> news:1129882184.186360.165150@z14g2000cwz.googlegroups.com...
>>>> Peter, I've already read many "orientation and dpi aware" kind
>>>> articles.I know in CF 1.0 the suggestion is create separate layout code
>>>> for each orientation.
>>>>
>>>> My problem is not being orientation aware, it's related to screen size.
>>>> I consider this two topics as different issues. Am I correct or is is
>>>> basically the same problem?
>>>>
>>>> Now, when building my forms in maximized mode, the size of the forms is
>>>> 240x320. My iPAQ displays the forms correctly. What about another
>>>> device that could have maybe (240x280)? Controls in the botton of the
>>>> form wouldn't be displayed I understand.
>>>>
>>>> Is there any solution to avoid this wihout having to create separate
>>>> layouts for each different device/different screen size?
>>>>
>>>> Regards.
>>>>
>>>
>>>
>>
>>
>
>