Returns hit testing information for the receiver.
Original signature is '- (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSUInteger HitTestForEventInRectOfView( NSEvent event, NSRect cellFrame, NSView controlView )
Public Overridable Function HitTestForEventInRectOfView ( _ event As NSEvent, _ cellFrame As NSRect, _ controlView As NSView _ ) As NSUInteger
public: virtual NSUInteger HitTestForEventInRectOfView( NSEvent^ event, NSRect cellFrame, NSView^ controlView )
Return Value
A constant that specifies the type of area in which the event occurred—see “Hit Testing” for values.
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)