Mailing Lists: Apple Mailing Lists

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

Re: Re: Where is the mouse down going?



Yes, I have HTML in the view.

It's pretty simple, no frames, just a few divs and some javascript to
allow dragging.

Can you describe a bit more about what special mouse-tracking loops
you had to do?

Thanks for your response!

-Nathaniel

On 10/2/06, Rudi Sherry <email@hidden> wrote:
Do you have HTML in the view? I found that WebHTMLView does some
strange things with mouse-events and sometimes swallows them; I
believe this is to handle HTML layering.  I have a plug-in and I had
to do special things during mouse-tracking loops whenever my plug-in
was inside a frame or embedded, that I didn't have to do with my plug-
in was the entire document.

Hope this helps,
Rudi


On Oct 1, 2006, at 10:06 AM, Nathaniel Martin wrote:

> Ok, so the firstResponder of the web window is WebFrameView, which is
> the first subview of the webView.
>
> So I tried sending the events to that view using:
>
>    [[[[[GCEGUIManager sharedGUIManager] gceGUIView] subviews]
> objectAtIndex:0] mouseDown:fakeEvent];
>
> But it still doesn't receive the events. Am doing this the wrong way?
> Is there some other way to send a mouse click to the webview?
>
> Also, I thought that if you sent an event to a view, it would send it
> to it's subviews. Is that incorrect?
>
> On 9/30/06, Darin Adler <email@hidden> wrote:
>> On Sep 29, 2006, at 11:02 AM, Nathaniel Martin wrote:
>>
>> > So, where are my mouse clicks going, if they're not going to the
>> > webview?
>>
>> To a subview of the WebView.
>>
>>      -- Darin
>>
>>
> _______________________________________________
> 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/rsherry%
> 40adobe.com
>
> This email sent to email@hidden


_______________________________________________
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
References: 
 >Re: Re: Where is the mouse down going? (From: "Nathaniel Martin" <email@hidden>)
 >Re: Where is the mouse down going? (From: Rudi Sherry <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.