Tuesday, October 16, 2007

WebBrowser Control in MFC application


in Visual C++ dialog application
1. Right-click the Dialog Editor.
2. Select Insert ActiveX Control from the menu.
3. Select Microsoft Web Browser.
4. Click OK.
5. Position and size the WebBrowser control in the Dialog Editor.
6. Delete the default OK and CANCEL buttons if your application does not require them.



add variable to added ActiveX control say m_iexplorer.
for Browse Uri m_iexplorer.Navigate(_T("http://senapi.blogspot.com/"), NULL, NULL, NULL, NULL);

1 comment:

Anonymous said...

is it possible to add Web Control in MFC SDI applicaion?