Zbigniew Banach wrote: > Hi everyone, > > Let me rephrase my original question (as I know I tend to get verbose): > is it at all possible to change the focus of a non-modal dialog (a > UnoControlDialog) using the API? And if not, maybe there is some way of > simulating user input to get the same effect?
I'm astonished to read that a "setFocus" call at either the ContainerWindow or the ComponentWindow didn't work for you. At least that's what OOo is doing in its own code when it wants to move the focus to a document. Perhaps you called it too early, before even your dialog got the focus from the operating system? Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
