Removes all events matching the given mask and generated before the specified event.
Original signature is '- (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent *)lastEvent'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
Public Overridable Sub DiscardEventsMatchingMaskBeforeEvent ( _ mask As NSEventMask, _ lastEvent As NSEvent _ )
- mask (NSEventMask)
- Contains one or more flags indicating the types of events to discard. The constants section of the NSEvent class defines the constants you can add together to create this mask. The discussion section also lists some of the constants that are typically used.
- lastEvent (NSEvent)
- A marker event that you use to indicate which events should be discarded. Events that occurred before this event are discarded but those that occurred after it are not.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)