There is a way to allow background programs to bring up windows in the
front even in XP. I don't remember how though.
Sorry.
/$

2006/2/3, Mathias Bauer <[EMAIL PROTECTED]>:
> Matthias Benkmann wrote:
>
> > 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.
>
> IIRC this is a feature of your operating system.
>
> If an application running in the background creates a new task window
> Windows XP will not bring it to front but instead lets it flash in the
> taskbar. The same code(!) on Windows 98 will bring the window to front
> IIRC. Only if the application that opens a new window is in the
> foreground the new window immediately comes to the front.
>
> So overall I'd say that this is the desired behavior on this platform,
> nothing inside OOo that can overrule it.
>
> Best regards,
> Mathias
>
> --
> Mathias Bauer - OpenOffice.org Application Framework Project Lead
> Please reply to the list only, [EMAIL PROTECTED] is a spam sink.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to