Important: The information in this document is obsolete and should not be used for new development.
TEFromScrap
TheTEFromScrap
function copies the contents of the desk scrap to the TextEdit
private scrap.
FUNCTION TEFromScrap: OSErr;DESCRIPTION
You use this function to move monostyled text across applications or between an application and a desk accessory.ASSEMBLY-LANGUAGE INFORMATION
You can store a handle to the desk scrap in the global variableTEScrpHandle
and the size of the desk scrap in the global variableTEScrpLength
; get the desk scrap's handle and size by calling the Scrap Manager'sInfoScrap
function.RESULT CODE
noErr 0 No error SEE ALSO
For more information about theInfoScrap
function and the desk scrap, see the chapter "Scrap Manager" in Inside Macintosh: More Macintosh Toolbox.