Fernand,
> maybe
>
> ContainerWindow.Toolkit
> can do the job
thank you! Tried that already to no avail yesterday; here is what I did:
* create an emnpty swriter document (named: "oDoc",
o get oDoc's XModel -> getCurrentController() -> getFrame()
+ get its getContainerWindow() -> getPosSize(): this
contains everything, but the enclosing window/frame
(the top-level window in Windows having the frame and
the title bar etc.),
+ get the XWindowPeer interface from the container
window, then its toolkit and from it the work area,
o get xFrame's parent (assuming that then one could get to the
encompassing frame (window), which works, but the position
information (a Dimension object) has all its members set to 0.
Tried to research the OOo docs, the DevGuide and search facilities to
get further, but have not been successful.
Maybe the route I am taking is false, or I do not see the forest for the
trees, or the information is not available via UNO.
thank you! Unfortunately, this does not help solve the problem.
---
The problem rephrased would be: using UNO, how can one get a hold of the
e.g. Windows window in which OOo creates its components, such that one
can get the exact window position, width and height?
---rony