Registers the Apple event handler specified by handler for the event specified by eventClass and eventID.
Original signature is '- (void)setEventHandler:(id)handler andSelector:(SEL)handleEventSelector forEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetEventHandlerAndSelectorForEventClassAndEventID( Id handler, IntPtr handleEventSelector, uint eventClass, uint eventID )
Public Overridable Sub SetEventHandlerAndSelectorForEventClassAndEventID ( _ handler As Id, _ handleEventSelector As IntPtr, _ eventClass As UInteger, _ eventID As UInteger _ )
public: virtual void SetEventHandlerAndSelectorForEventClassAndEventID( Id^ handler, IntPtr handleEventSelector, unsigned int eventClass, unsigned int eventID )
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)