Carbon


TXNGrowWindow

Header: MacTextEditor.h Carbon status: Supported

Adjusts the size of a window in response to mouse-down and mouse-moved events in the size region of the window.

void TXNGrowWindow (
    TXNObject iTXNObject, 
    const EventRecord *iEvent
);
Parameter descriptions
iTXNObject

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

iEvent

A pointer to an event record. You use this to specify the mouse-moved event to apply to the window.

DISCUSSION

The text object must be contained in a window and not a subframe of the window; otherwise the function does not adjust the size of the window. Before you call TXNGrowWindow , 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)