Returns the next event matching a given mask.
Original signature is '- (NSEvent *)nextEventMatchingMask:(NSUInteger)eventMask'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSEvent NextEventMatchingMask( NSEventMask eventMask )
Public Overridable Function NextEventMatchingMask ( _ eventMask As NSEventMask _ ) As NSEvent
public: virtual NSEvent^ NextEventMatchingMask( NSEventMask eventMask )
Parameters
- eventMask (NSEventMask)
- The mask that the event to return must match. Events with nonmatching masks are removed from the queue. See discardEventsMatchingMask:beforeEvent: in NSApplication for the list of mask values.
Return Value
The next event whose mask matches eventMask; nil when no matching event was found.
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)