Carbon


TXNZoomWindow

Header: MacTextEditor.h Carbon status: Supported

Increases the size of the data displayed in a window in response to a mouse-up event in the zoom box.

void TXNZoomWindow (
    TXNObject iTXNObject, 
    SInt16 iPart
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object for the current text area.

iPart

A variable of type short. You must first use the FindWindow function to get this value.

DISCUSSION

You should use the TXNZoomWindow function only when a text object has a viewable area that occupies the entire window; for example, if you passed NULL for the iFrame parameter when you call the TXNNewObject function to create the text object. You cannot use it if the text object is contained in a subframe of a window. Before you call the TXNZoomWindow function, you should make sure that the front window belongs to your application.

AVAILABILITY

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)