AW Developer's Guide | AW Interfaces | AW Methods | AW Types and Misc API
Interface ID: IID_IMoaAwEventSender
Pointer type: PIMoaAwEventSender
Inheritance: IMoaUnknown
Header file: awiservc.h
IMoaAwEventSender
interface is implemented by an Xtra to provide information about
the kind of events it can send to Authorware so that Authorware
can present this information to the user in the Event Response
Properties dialog. Any Xtra that uses the SendSpriteEvent
function must implement the IMoaAwEventSender
interface
in the same class that implements
its IMoaMmXAsset
interface. If you want the Xtra-level sender name to appear in
the Event Response Properties dialog, you must add a registry
entry for it in the MOA cache.
This
IMoaAwEventSender
interfacepDescriptions
maxLen
kMoaErr_NoErr |
Function call succeeded |
"eventName1 argtype1 argname1, argtype2
argname2... -- description
eventName2..."
Valid
argument types are int, integer, float, rect, point, symbol, string,
any, *. This is the same general format as for Scripting Xtra
message tables.
This
IMoaAwEventSender
interfacepName
maxLen
kMoaErr_NoErr |
Function call succeeded |
This
IMoaAwEventSender
interfacepDescriptions
maxLen
kMoaErr_NoErr |
Function call succeeded |
maxLen
characters will be copied into the string. The events in this
list are the events that are common to all instance sof the Xtra
(events that can be sent by any of its instantiated icons). The
format of the returned string is "eventName1 argtype1
argname1, argtype2 argname2... -- description
eventName2..."
Valid argument types are int, integer, float, rect, point, symbol,
string, any, *. This is the same general format as for Scripting
Xtra message tables. If you don't want a particular event to appear
in the list of available events in the Authorware Response Properties
dialog, precede it with a '/'.
This
IMoaAwEventSender
interfaceeventName
pReply
replyRefcon
kMoaErr_NoErr |
Function call succeeded |
SendEventWithReply
. pEventName
and replyRefcon
are the same values passed in to SendEventWithReply
. pEventName
is a string naming this event for example,
"mouseClick"). replyRefcon
is data that is
passed back to the HandleReply
method of the pSender
when a reply is sent back. pReply
is the value of the
reply generated by Authorware.