Carbon


AESetInteractionAllowed

Header: AEInteraction.h Carbon status: Supported

Specifies user interaction preferences for responding to an Apple event when your application is the server application.

OSErr AESetInteractionAllowed (
    AEInteractAllowed level
);
level

The desired user interaction level. Pass one of the values described in “User Interaction Level Constants”.

function result

A result code.

DISCUSSION

If you don’t set the user interaction level by calling AESetInteractionAllowed, the default level is kAEInteractWithLocal (which indicates that your server application may interact with the user in response to an Apple event only if the client application is on the same computer as the server application).

For additional information on interaction level, see “AESend” and “Preferences Constants for the AESend Function”.

See also AESetInteractionAllowed and AEInteractWithUser.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)