Hi,
Do anybody know how PalmOS handle Clipboard? Is it allocated in some
system memory we couldn't touch?
I try to show the string in the clipboard in the event frmOpenEvent, but failed
no matter I use FldPaste or StrCopy (which would cause memory error)..
The code is something like:
in one form, I checked with ClipboardGetItem, if it got string, then go to
next form:
Word len = 0;
if ( ClipboardGetItem(clipboardText, &len) )
FrmGotoForm(TestForm);
----In TestForm------
case frmOpenEvent:
//Set the focus to field, and call
FldPaste(fldP);
Even I get the text from ClipboardGetItem and use MemHandleLock to
get the string pointer, and do this in a button select event, it still didn't
work (also try FldPaste).
Any help would be appreciated. :-)
Regards,
--
yowkee
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/