IWebBrowser2 Draw Control

  • Thread starter Thread starter Darshovitz
  • Start date Start date
D

Darshovitz

Guest
I am trying to embed this COM object in my root window. There could be several "tab" views that each is one such browser with the ATL window. The fWindow is child window of my root window. The time it will draw is not under my control even that I am assured the URL was loaded already. I want to shuffle them in and out without success.

struct Web_OS {
vptr fWindow; // from AtlAxWin
vptr fWebView; // IWebBrowser2
};

The problem is that whatever I tried I can not make MoveWindow(window, r.fLeft, r.fTop, r.fX, r.fY, true) + possibly Refresh() or UpdateWindow -- nothing works. The window will refresh at its own logic and not under my command.

There must be some trick to make them obey my program and refresh exactly where I want and when I want.

I found several posts about this issue, like here -- Google Groups -- but no answer.

Please write the answer Thank you.

Continue reading...
 
Back
Top