Yeah, it is somewhat sucky. Unfortunately, modal dialogs are no fun to have around, and all they really do is cause problems. (That was at least a part of the reason why error messages now come up as XUL in the browser as opposed to modal dialogs.) I'm not sure there is a better solution, though. The one other place I could suggest asking is on irc.m.o on #extdev.

Sorry I couldn't be of more help. Matt

On 1/28/06, Neil <[EMAIL PROTECTED]> wrote:
Eric H. Jung wrote:

>Yes, that is precisely what I do... and it works when the options window isn't itself displaying a modal dialog. However, if, for example, the About Box is displaying on top of the options window, this code doesn't work for me.
>
You can't focus a disabled window, such as one with a modal dialog. I
suppose you could enumerate all windows and find out which one's opener
is your window, and focus that instead, but that's somewhat sucky.
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to