Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Click through problem



I think I'm having a mental lapse...

I have a cocoa WebView alone in it's own window. The view has an image with a hyperlink . It loads the hyperlink URL if you click on it while the window is in front. Clicking twice on the content if the window is not in front makes it go to the link because the first one brings the view into focus and the next one causes webkit to load the link that was clicked on. I want it to also work on the first click no mater if the window is in front or not. I just can't seem to figure it out.

I sub-classed WebView in order to over-ride acceptsFirstMouse but that never seems to get called. Any ideas where I'm going wrong ?

Thanks,
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.