So how did you do it actually? I just use FrmCopyTitle() to do that.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stephen
A. Cochran
Sent: Thursday, May 31, 2001 4:34 PM
To: Palm Developer Forum
Subject: Form Titles
I want to change the title of a form at runtime, and I found an example of
this
in the Memo application. I followed their example (dealing with the tricky
handling of the oldtitle, but I run into problems.
The form title is defined in the resource, so I can't release the memory
from
the old title (produces runtime error). But if I don't release it, I get an
error after the function returns.
I also tried leaving the title blank when creating the resource, but then
the
title is never drawn when I set it at runtime.
What's the correct way to handle this?
Steve Cochran
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/