"Richard Burmeister" <[EMAIL PROTECTED]> wrote in message
news:26917@palm-dev-forum...
>
> From: "Ben Combee" <[EMAIL PROTECTED]>
> Subject: SDK prototype question: FrmSetTitle
>
>
> > since my understanding is that the title string should never be written
by
> > the form code.
>
> I think the only problems with writing a form title are:
> 1) if the new title is too short, it leaves part of the old title showing,
> and
> 2) if the new title is longer than the old title, you will overwrite other
> parts of the form structure.

You're confusing FrmSetTitle and FrmCopyTitle.  The "copy" form has the
problems you state, while the "set" form just changes an internal pointer,
but it requires that your title string remain in memory for the life of the
form.

I wasn't complaining about how it worked, just making an observation about
how the prototypes could be changed for future OS versions.




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

Reply via email to