I would like to handle the mouseDown
events in the WebView
. I subclassed the WebView
,implemented the mouseDown
and I came to know the mouseDown
was redirected to WebHTMLView
.
I have gone through the following link.
mouseDown: not firing in WebView subclass
From the above link I got to know, We can redirect the mouseDownEvent to Objective-C,but I did not find any solution for this. Can I have any Pointers or sample javascript to implement the same.
I tried the hitTest method in webview
subclass.
- (NSView*)hitTest:(NSPoint)aPoint
Is it possible to recognize the mouseDown in the above method?