You might wanna look at the source code implementation of the IsAlwaysOnTop property of the css::presentation::Presentation service because I think it goes down to using the Win API on Win32. No guarantees whatsoever about whether it really does, because I have not taken looks, I just conclude from its behavior I have experienced in some situations.
But yes as already said, I don't think there is a nice way and actually in the OOo API there is no way as far as I know. If something like this would get included, I propose it to be attached to the css::frame::Desktop service, since that resembles the OOo "GUI environment". 2006/2/2, Matthias Benkmann <[EMAIL PROTECTED]>: > I have the problem that when I launch a new OOo window with > loadComponentFromURL() it doesn't always come to the front. Sometimes > its button just blinks in the Windows task bar and I have to click it > manually to bring it to the front. Is there a way to programmatically > bring the window to the front? > XTopWindow.toFront() and XWindow.setFocus() don't do the trick as they > only work relative to other OOo windows not non-OOo windows. -- Best Regards Christian Junker --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
