Rony ,

maybe

ContainerWindow.Toolkit
can do the job

Fernand,

thank you! Unfortunately, this does not help solve the problem.

On 3/3/2010 9:19 AM, Fernand Vanrie wrote:
For doing things when opening Formdocs i use 2 BASIC subs, maybe they
can help you ?

Sub setDocPosSize(Doc As Object , X As long, Y as long , Width as
long, Height as long )
   Dim Window As Object ' CONTAINER WINDOW
       If IsNull(Doc) Or IsEmpty(Doc) Then Exit Sub

   Window=Doc.CurrentController.Frame.ContainerWindow
The containerWindow does not encompass the window that has a frame and a
title bar. I would like to get a reference in any form to that
particular window (then I would be able to figure out whether it is
being displayed in full, resize and move it such that two different OOo
documents can be aligned alongside each other etc.).

Regards,

---rony



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to