Am 17.12.2013 17:34, schrieb Adam D. Ruppe:
I'm not able to run your code but are you sure the web page control is sized in your window? One time I had a problem like this and it was because the control was a 1x1 pixel...
I just checked, the dimensions of the main form are passed correctly to the IWebBrowser2 instance. GetClientRect(hwnd) is used and dimensions are evaluated correctly.