Thanks, I'll give it a go.
Jim
On Wed, Apr 14, 2010 at 12:21 AM, Alexander Steitz <
[email protected]> wrote:
> Hi Jim,
>
> On Tuesday April 13 2010 20:48:15 Jim Hunter wrote:
> > Been searching the archives but don't see an answer to this thing that
> has
> > me stuck. I have an embed.Html control with some html content in it. I
> need
> > to be able to get the screen X/Y position of the mouse when I click on
> > something inside the embed.Html frame. I will be placing a popup menu
> > (qooxdoo) over the area and I want to place it right where the mouse is.
> Is
> > there a call I can make that is not associated with an event, that
> returns
> > the current mouse location relative to the screen?
> I guess you have to intercept the mouse click at the embed.Html widget. You
> can add an event listener method for the "click" event at this widget in
> cpaturing mode (last parameter).
> This way you can catch the event before it is reaching any content inside
> the
> HTML embed widget and you can get the coords by using "getScreenTop" and
> "getScreentLeft" to position your popup.
>
> Additionally you can stop the "click" event to prevent any further
> processing.
>
> cheers,
> Alex
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel