OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Minimize a window inside a parent window

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
tridouble
General User
General User


Joined: 12 Dec 2004
Posts: 17

PostPosted: Thu Apr 26, 2012 1:28 am    Post subject: Minimize a window inside a parent window Reply with quote

By the following code can be created a window :

Code:
oAwtToolkit = createUnoService( "com.sun.star.awt.Toolkit" )
oWindowDesc = createUnoStruct( "com.sun.star.awt.WindowDescriptor" )
...
oWindow = oAwtToolkit.createWindow( oWindowDesc )
oFrame = createUnoService( "com.sun.star.frame.Frame" )
oFrame.initialize(oWindow )


If the oWindowDesc Parent property is set to the Desktop, the window can be minimized on the Desktop.
But if the parent is set to another window (of type "TOP"), it seems not possible to minimize it (no button appears on top right of the window), though the window is still resizeable.
Is there a way to achieve that behavior (minimizing a subwindow inside a parent window) ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group