For backwards compatibility, you define forms in lo-res and hi-res the exact 
same way.  The OS takes care of doubling the pixel sizes of all elements, 
including forms.

So a 160x160 form in hi-res is 320x320 as far as pixels go, but still 
160x160 to the OS.
---
Tim Kostka


"Jennifer Fell" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi Everybody,
>
> I was going to use the FrmNewForm (...) function for creating form
> dynamically based on the screen size (e.g. 160x160, 320x320). But in the
> manual I found that width or height has to be within 1-160 range. So, 
> can't
> I create a 320x320 form in a high resolution device?
>
> Thanks,
> Jenni
>
>
>
> FormType *FrmNewForm (UInt16 formID, const Char *titleStrP,
>                                          Coord x, Coord y, Coord width,
> Coord height,
>                                          Boolean modal, UInt16
> defaultButton,
>                                          UInt16 helpRscID, UInt16
> menuRscID)
>
>
> -> width Width of the form, expressed in pixels. Valid values are 1 -160.
> -> height Height of the form, expressed in pixels.Valid values are 1 -160.
> 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to