Hi,

> I used FrmSetTitle(). I read somewhere that FrmCopyTitle() restricts you
to the
> length of the original title set in the resource, and that if it's
shorter, it
> doesn't draw over the old title, so you can get remnants.

I think FrmCopyTitle should serve well. I'm not sure if it will leave
remnants or not, but apparantly, the docs mentioned that starting from OS3.0
that bug should not be there anymore.

If you wish to use FrmSetTitle, you could do something like this:

title = FrmGetTitle (frmP);
StrCopy (title, "Hello World!");
FrmSetTitle (frmP, title);

But I think all these does the same thing as FrmCopyTitle, and you run into
the same limitations as that in FrmCopyTitle, i.e., the new title cannot be
longer than the existing one.

Regards,
Gee.



-- 
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