Installs an event monitor that receives copies of events posted to this application before they are dispatched.
Original signature is '+ (id)addLocalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(NSEvent* (^)(NSEvent*))block'
Available in Mac OS X v10.6 and later.
|C#||Visual Basic||Visual C++|
public static Id AddLocalMonitorForEventsMatchingMaskHandler( NSEventMask mask, Func<NSEvent, NSEvent> block )
Public Shared Function AddLocalMonitorForEventsMatchingMaskHandler ( _ mask As NSEventMask, _ block As Func(Of NSEvent, NSEvent) _ ) As Id
- mask (NSEventMask)
- An event mask specifying which events you wish to monitor. See Masks for event types for possible values.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)