"McAlister, Paul" <[EMAIL PROTECTED]> wrote in message
news:60363@palm-dev-forum...
>
> Is there a way to determine the form title height? I'd rather not put
a
> "magic number" in the code. What about on other platforms with
different
> resolutions such as HandEra (TRG)?
Unfortunately, there isn't a call to get this information -- you might
expect FrmGetObjectBounds(frm, 0), but this function just returns a 0x0
rectangle for form titles. In general, on a 160x160 device, add 3 to
FntLineHeight of the font used to draw the title. I'd expect the
constant to scale to 6 on a 320x320 screen, but I don't know if its 4 or
5 on the HandEra 330.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/