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.
If I haven't overlooked something, then all you have to do is make sure the
title is created (in Constructor) large enough to hold anything you later
write, and then use FrmHideObject and FrmShowObject as the docs say (or, if
that doesn't work, use WinEraseRectangle to clear the old title -- I vaguely
remember some posts about problems with FrmHideObject/FrmShowObject under
some versions of the OS).
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/