Carbon


TXNClick

Header: MacTextEditor.h Carbon status: Supported

Processes a mouse-down event in a window’s content area.

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

A variable of type TXNObject. Pass the text object in which the mouse-down event occurred.

iEvent

A pointer to the event record that contains the mouse-down event to process.

DISCUSSION

When you pass the event to TXNClick, it responds to the user’s action by scrolling, selecting text, playing a sound or movie, handling a drag–and-drop operation, or responding to a double-click, as appropriate. Before you call TXNClick, 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)