Up   Previous   Next  

Creating a Window

In this version of MLTE, creating the text object is not of much use to your users unless you attach the text object to a window and make sure the window is visible. Your application can either create a text object and attach it to a window using the TXNAttachObjectToWindow function, or it can create a window and then create a text object with a reference to the window. Listing 3-5 shows to attach a new text object to a window.


Copyright © 2001 Apple Computer, Inc. (Last Updated January 11, 2001)

Up   Previous   Next