If I understand what you're trying to do, all you need to do is call MemHandleNew to 
get a handle to a new chunk of memory, lock it with MemHandleLock, put the text you 
want into it with StrCopy, then unlock it with MemHandleUnlock, and finally tell the 
field to use it, with FldSetTextHandle. You should use FldSetTextHandle to set the 
text of an editable field. This allows the field to grow the chunk of memory when 
necessary to fit the text the user enters.
--
Peter Epstein
Palm Inc. Developer


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