Tuesday, September 06, 2005

mouseDown

Yes, I've finally captured mouss clicks. Ended up using the overlay view on top of the WebView. Now what I need to do is to pass all the other mouse events to be handled by the WebView.

I was able to get around to capturing the mouse click by removing the overlay view, and using the hitTest method (to get to the deepest subview of the WebView), I was able to get to the right class to pass the NSEvent to. After the event has been handled the overlay view is put back on top.

0 Comments:

Post a Comment

<< Home