Mathias Bauer schrieb:
Schuster Gerhard wrote:

Hi there,

here
http://api.openoffice.org/servlets/ReadMsg?msgId=341854&listName=dev I
learned that it will not work if I register a MouseMotionListener with
the ContainerWindow.

So here my questions:
- How do I get a refference to the top most child window in order to set
the listener?

That won't help a lot as mouse events are not sent recursively. The top
most window will fire mouse events only if no child window got it. As
the top most window is filled by child windows completely I expect that
you won't get any events like these.

If you are fine with getting mouse click events only the
css.awt.XUserEventInteraction interface might be interesting for you.
You can get it from a controller object of an OOo frame object.

- Is there a possibility to get refferences to all child windows of
a given parent window?
This is not possible as there is no UNO AWT interface that would provide access to child windows. Please write a request for enhancement to me.

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to