I have embedded mozilla browser control in a window, on Windows and
C++, using amongst other things:

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

My problem is, the browser doesn't redraw itself, unless I move the
mouse over it.

For example, when I start the application, the browser control doesn't
show up on my window, unless I move the mouse over it. And when I put
another window on top of mine, and then switch back, The browser
doesn't redraw itself.

I've tried calling:
  mBaseWindow->SetVisibility(PR_TRUE);
  mBaseWindow->SetFocus();
  mBaseWindow->Repaint(true);

Although their return result is OK, these functions don't have any
effect.

Please Help.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to