Tom wrote:
Using Windows, I've managed to embed Mozilla in a window and navigate
to a web page. However, the page doesn't show in the Mozilla box
until I go over it with my mouse. So if I run the program and the mouse
is not directly over the embedded section, it remains white until I
move the mouse over it. I can't figure out what I'm doing wrong.

Try narrowing down the problem by commenting unnecessary lines. That is, everything after


  mBaseWindow->InitWindow(nsNativeWidget(hwnd), nsnull, 0, 0, 400,
400);
  mBaseWindow->Create();

mBaseWindow->SetVisibility(PR_TRUE);

Also, try adding some error handling in case a call gives an error.

/Mikkel
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to