Hello,
I'm attempting to embed Mozilla into my own application and have been
nearly completely successful. However, during the course of embedding I
discovered that whenever the "Alert me whenever I submit information that's
not encrypted" alert was supposed to come up, nothing ever did and so I was
never able to submit information, such as a Google search query.
I realized that I needed to register a window creator and implement
nsIInterfaceRequestor on my browser implementation and watch for the
nsIDOMWindow IID. So now I'm getting the alert to show up, but it only
works the first time: if I hit continue, then next time the alert shows up,
hitting continue will close the window, but my information is still not
submitted. This is severly hampering my ability to use embedded Mozilla.
I'm really at a loss as to what I need to do to fix this. I would prefer
not to have to register my own prompt service to fix this. If anyone has
any ideas as to how to overcome this, I would be very grateful.
P.S. -- My alerts are showing up in a HUGE window. I would think that it
would call the appropriate methods on my nsIEmbeddingSiteWindow interface to
resize the window to something more appropriate, but it doesn't. This is
not necessarily a top priority, but if anyone knows how to solve this too,
it would be greatly appreciated.
--
Brad Fish
[EMAIL PROTECTED]
TALL Group Programmer