> From: Richard Hartman [mailto:[EMAIL PROTECTED]]
> But now what about fields (using FldSetTextHandle() &
> FldGetTextHandle())?
> ... does the initial handle for a field point to
> a string on the dynamic heap?
Fields start up with no handle at all. So there is nothing to free if you
install your own handle at the beginning.
But if you don't initially install your own handle in a field, and the user
starts entering text into it, then the field will automatically allocate
itself a buffer on the dynamic heap. If you then later want to install your
own handle, you are responsible for freeing that previous one.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html