I insert an ActiveX webbrowser control into my dialog box. I want to change the webbrowser control size to fit the web page after download complete. So the size of the web page is needed. How to get the size of the web page using vc++?
hi,
i dont think what u r trying to achive is possible, rather if u notice IE itself, i adds up scroll bars if the web page is larger than its view and similarly the activex webbrowser adds up the scroll bars when the page cannot be accomodated in the current view.
Yes. I know the webbrowser control window will add scrollbar automaticly when the size of web page lager than the window. But I want show pictures with different size in the webbrowser window and I don't want to scroll it each time. So I want the window size can be change automaticly to fit the picture. That's what I want. So the size (width/hight) of the webpage is needed.