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?

AFAIK not.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to