Hi Ben

Many thanks for your reply.

So FrmSetTitle() is safer as it makes no assumptions about the length of the
existing title. Would I then have to free the pointer I pass to this
FrmSetTitle()? Or would that be done automatically when the form closes?

Kind regards

Patrick

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 07:29 AM 8/11/2004, you wrote:
> >Redrawing the form explicitely hasn't resolved the problem.
> >I wonder if I should use FrmCopyTitle() instead; what is the difference
> >between the two?
>
> FrmSetTitle replaces the pointer inside the title object with the pointer
> you provide.  This pointer has to remain valid as long as the form is
open.
>
> FrmCopyTitle copies the text of your string into the string embedded in
the
> form object.  To use this, your new title cannot be longer than the
> original string used in the form.
>
>
> -- Ben Combee, DTS technical lead, PalmSource, Inc.
>     "Combee on Palm OS" weblog: http://palmos.combee.net/
>     Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/
>
>
>



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

Reply via email to