Hey Kevin,

you only need to add a MouseHandler to your GWTCanvas Object.
I think you have extended your Canvas Object or created a Composite.
Create a new Method in that Widget

        public HandlerRegistration addMouseDownHandler(MouseDownHandler
handler) {
                return addDomHandler(handler, MouseDownEvent.getType());
        }

After you did that, you can register a new handler with
addMouseDoubleClickHandler( MouseDownHandler );

Regards
Sellfisch

On 26 Jan., 16:37, kevinlam <[email protected]> wrote:
> Hi experts! :-)
>
> I am new to GWT and I am working on an application which I have a
> jQuery application displaying an image, the jQuery code allows the
> image to be scrollable.
>
> I have wrapped the jsQuery script to a div in my GWT application.
>
> What I am trying to do is to overlay a GWTCanvas on top of the jQuery
> div, to emulate annotation. While I can detect the Canvas mouse event
> (i.e. click and mouseDown etc) the jQuery div cannot detect the same
> event??
>
> I have used an absoluatepanel to overlay the canvas and the div
> together, while the absolutepanel can still detect the mouse click
> event while underneath the canvas, the jQuery div still cannot...
>
> Do i need to so something special to channel or chain the event to the
> jQuery handler?
>
> Thanks in advanced.
>
> Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to