I demand that Dan Parent may or may not have written...

> To add to this, I have tried calling the getMsgDatabase function on 
> the nsIMsgFolder (passing in null for the msgWindow)

Which won't work, so pass in an nsIMsgWindow instead.

msgWindow = 
Components.classes[@mozilla.org/messenger/msgwindow;1].createInstance();
msgWindow = msgWindow.QueryInterface(Components.interfaces.nsIMsgWindow);

The question is, do you need to call msgWindow.SetDOMWindow before you 
can use it?


Reply via email to