To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107258
                 Issue #|107258
                 Summary|css::awt::XWindow::setPosSize() doesn't restore maximi
                        |zed window state
               Component|gsl
                 Version|current
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|zhangxiaofei





------- Additional comments from zhangxiao...@openoffice.org Fri Nov 27 
08:14:13 +0000 2009 -------
REM  *****  BASIC  *****

Declare Function ShowWindow Lib "user32" _
    (ByVal lHwnd As Long, _
    ByVal lCmdShow As Long) As Boolean

Sub Main
        w = ThisComponent.CurrentController.Frame.ContainerWindow
        ShowWindow(w.getWindowHandle(dimarray(), 1), 3) ' maximize the window
        ShowWindow(w.getWindowHandle(dimarray(), 1), 6) ' minimize the window
        w.setPosSize(0, 0, 100, 100, 15)

End Sub

running the macro above results in the window with a normal size and a maximized
state in the mean time.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to