![]() |
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 );
A variable of type TXNObject. Pass the TXNObject for the current text area.
A pointer to an event record. You use this to specify the mouse-moved event to apply to the window.
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.
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)