Hi group,

Usually, i work on different device, and have to make my programs work
on all, with (if possible) the same look, and the same code.
i bored about write code to know where is the main menu (in top or
bottm), if it is counted or not in the client size, if the start menu
if to or bottom and so on.
from CE 5, there is also screen of the same physical size, with
resolution X 4 (width X 2, and Height X 2), i sure you know ....

Today i have a (yes it is old) CE 4.2, and a PPC 2005, and i manage
without succes to having the same result screen. I search somewhere to
start, with this ?
some factory of screen or something ?

Romain TAILLANDIER

Re: Screen size on different device by Fabien

Fabien
Tue Mar 11 05:06:16 CDT 2008

Hi,

Check out this, there is a factory for screen size adaptability ->
Orientation Aware Control.
http://www.codeplex.com/smartclient


BR

Fabien Decret (Device Application Development MVP)
Windows Embedded Consultant

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


On 10 mar, 15:56, romain taillandier <romaintailland...@gmail.com>
wrote:
> Hi group,
>
> Usually, i work on different device, and have to make my programs work
> on all, with (if possible) the same look, and the same code.
> i bored about write code to know where is the main menu (in top or
> bottm), if it is counted or not in the client size, if the start menu
> if to or bottom and so on.
> from CE 5, there is also screen of the same physical size, with
> resolution X 4 (width X 2, and Height X 2), i sure you know ....
>
> Today i have a (yes it is old) CE 4.2, and a PPC 2005, and i manage
> without succes to having the same result screen. I search somewhere to
> start, with this ?
> some factory of screen or something ?
>
> Romain TAILLANDIER


RE: Screen size on different device by srhartone

srhartone
Wed Mar 12 16:12:00 CDT 2008

You didn't say what version of the CF you were using..from CF 2.0 and
onwards, docking and anchoring is supported - just like the desktop so the
runtime is DPI aware no special coding techniques are required anymore. The
orientation aware factory from the patterns & practices team as mentioned by
Fabien is usally used for coding portrait and landscape aware applications.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"romain taillandier" wrote:

> Hi group,
>
> Usually, i work on different device, and have to make my programs work
> on all, with (if possible) the same look, and the same code.
> i bored about write code to know where is the main menu (in top or
> bottm), if it is counted or not in the client size, if the start menu
> if to or bottom and so on.
> from CE 5, there is also screen of the same physical size, with
> resolution X 4 (width X 2, and Height X 2), i sure you know ....
>
> Today i have a (yes it is old) CE 4.2, and a PPC 2005, and i manage
> without succes to having the same result screen. I search somewhere to
> start, with this ?
> some factory of screen or something ?
>
> Romain TAILLANDIER
>