Appendix A: System Routines — Text Editing
1053
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
CB_fetchTEXT
Declaration:
BOOL
CB_fetchTEXT
(HANDLE *
h
, size_t *
size
)
Category(ies):
Text Editing
Description:
Fetch contents of clipboard if it contains text.
Inputs:
None
Output:
h
— Handle to text in clipboard.
size
— Length of text.
Returns TRUE if clipboard contains any text, otherwise, returns FALSE.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: CB_replaceTEXT
Example:
HANDLE hText;
size_t size;
.
.
.
if (CB_fetchTEXT(&hText, &size))
{
/* do something with text in hText */
}