Programming Tips - Visual Studio 2005: Embed webbrowser in dialog

Date: 2018dec11 Product: Visual Studio 2005 Language: C++ Keywords: MSVC, vs2005 Q. Visual Studio 2005: Embed webbrowser in dialog A. In the dialog edit, right-click in the dialog a select "Insert ActiveX Control" Select "Microsoft Web Browser" Once its inserted, right-click on it and pick "Add Variable" Name it "m_WebBrowser" In addition to adding it to your dialog it will make make "webbrowser.cpp" and "webbrowser.h" In your class, visit a website with
m_WebBrowser.Navigate("http://example.com", NULL, NULL, NULL, NULL);