views:

221

answers:

0

Hi, I am creating a WebBrowser ActiveX control inside an ActiveX dialog (ATL::CAxDialogImpl).

The control is loaded with some text content at run-time before the dialog is displayed, and so the dialog window must be resized dynamically in order to fit the WebBrowser control. I've seen a similar question asked with C# but couldn't get it to work in C++.

Thanks, Dan.