![]() |
TXNIsObjectAttachedToWindow |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Checks to see if a text object is attached to a window.
Boolean TXNIsObjectAttachedToWindow ( TXNObject iTXNObject );
A variable of type TXNObject. Pass the text object that identifies the document you want to check.
A Boolean value; returns true if the object is attached.
You can call this before you call the TXNAttachObjectToWindow function to make sure the text object is not already attached to a window. If you pass NULL in the iWindow parameter of TXNNewObject you create a text object without an associated window pointer.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)