Hi, Mathias:
I also browsed the desktop/source/app/appl.cxx source code and find that start point of OOo. I think there should be a method that can set Window property like HIDE_WINDOW before the OOo is launched. but maybe I went a wrong way, may be it can be achieved by only revice an xml file.
This code is not related to windows. You can hack just one place in the code to make sure that all windows are opened without decoration. It's
framework/source/classes/taskcreator.cxx
There is a method impl_createSystemTask where a window with certain attributes is created. You can change this code (in my version it's line 269) to:
aDescriptor.WindowAttributes = css::awt::WindowAttribute::BORDER | css::awt::VclWindowPeerAttribute::CLIPCHILDREN;
Maybe that's already enough, if not, try to remove the BORDER attribute. Then please report back.
thanks for your great help!
Yes, I have tried your suggestion, it is cool enough to solve most part of my problem, now OOo can start without any window decoration. only that it is not in fullscreen mode, the space of the original window header and the space of the original border are still exist, just like an application whose window decoration invisible, I tried to add css::awt::WindowAttribute::FULLSIZE into the descriptor, but seems it does not take full screen effect, too. is it possible to let the non decorated OOo fill in all the screen space so user can not see the desktop?
best regards Gorden Lin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]