This method in nsMessenger immediately opens a modal file picker dialog so that you can select the location to save the attachment. However while that thread is waiting with the dialog open for you to pick a file, you can go back to the main window and do the same thing again, thus having 2 file picker dialogs open simultaneously, both for the same action.
I have to admit that I don't know why this works on windows (where a native file picker is used). On platforms like Linux, the filepicker is just an xul window basically, and the event handling loop continues just normally to process events, so nothing prevents you from doing other things while the filepicker is open.
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib