3 COM Events (original) (raw)
3 COM Events🔗ℹ
COM events are generated by COM objects. Unlike HTML events, there is no fixed set of COM events, though there are “stock” events that many COM objects support. MysterX allows the programmer to write handlers for both stock and custom events.
Returns a list of strings naming the events supported byobj/type.
If calling this procedure results in an error indicating that the COM object’s coclass is ambiguous, try using eitherset-coclass! or set-coclass-from-progid!, then retry com-events.
Returns the type of an event handler for the event ev generated by the particular COM object/type obj/type. The return type of all COM event handlers is void.
See also com-events for dealing with a COM object that has an ambiguous class.
Registers f as event handler for the event ev when generated by obj. The type of argument supplied tof depends on the event; the result of f is always discarded.
See also com-events for dealing with a COM object that has an ambiguous class.
Unregisters any event handler for the event ev that is generated by the COM object obj.