Forwards the message to the NSApplication object, NSApp.
Original signature is '- (void)discardEventsMatchingMask:(NSUInteger)eventMask beforeEvent:(NSEvent *)lastEvent'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void DiscardEventsMatchingMaskBeforeEvent( NSUInteger eventMask, NSEvent lastEvent )
Public Overridable Sub DiscardEventsMatchingMaskBeforeEvent ( _ eventMask As NSUInteger, _ lastEvent As NSEvent _ )
public: virtual void DiscardEventsMatchingMaskBeforeEvent( NSUInteger eventMask, NSEvent^ lastEvent )
Parameters
- eventMask (NSUInteger)
- The mask of the events to discard.
- lastEvent (NSEvent)
- The event up to which queued events are discarded from the queue.
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)