Hi, Mathias:This window can be set to maximum size:
pWindow->Maximize();
this does not work. it seems equal to the effect of css::awt::WindowAttribute::FULLSIZE.
Maximize when used on modern window managers (like KWin or Metacity) just sets a hint that the Windown Manager should maximize the window (as if the user had pressed the maximize button). If you use that with an undecorated frame you may trigger a bug in the window manager.
If this doesn't work you could instead try
pWindow->ShowFullScreenMode (TRUE );
yes, it works and this is exactly what we need, after show task in full screenmode, the OOo start without any decoration and in full screen mode.
This is actually the canonical way to open a fullscreen window.
Please note that the last call will remove the Menubar from the screen though it is still accessible through keyboard
no, it just show the window in full screen mode, menubar and tool bar are all preserved, the perfect result.
fine :-)
when closing a doc, OOo will popup a dialog and ask that the doc is not saved and please save it before quitt, but since the main window is fullscreen and on the top, the dialog will show behind the main window and can not click OK, so there will be some problems when using OOo under fullscreen mode.
to appear in front of the fullscreen window a dialogue would need to have that fullscreen window as parent; the window manager will not allow any window in front of a fullscreen window as long as it has the focus (which is exactly what it should do according to the EWMH specification; see www.freedesktop.org). The dialogue probably belongs to a document in the background.
Just my 2 cents, pl
-- Never be afraid to try something new. Remember: amateurs built the ark; professionals built the Titanic. -- Autor unbekannt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]