1068
TE_pasteText
Example:
size_t size;
UCHAR *pText;
HANDLE hText;
.
.
.
if (CB_fetchTEXT(&hText, &size))
{
pText = HLock(hText);
TE_pasteText(&textEdit, pText, size);
HeapUnlock(hText);
}
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Text Editing
(continued)
Not for Distribution
/* get handle to clipboard text */
/* lock handle and convert to pointer */
/* paste text into edit buffer */
/* unlock clipboard handle */
Beta Version January 26, 2001