tridouble General User

Joined: 12 Dec 2004 Posts: 17
|
Posted: Thu Apr 26, 2012 1:28 am Post subject: Minimize a window inside a parent window |
|
|
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) ? |
|