Click here to Skip to main content
15,885,546 members
Articles / Desktop Programming / MFC

Using ActiveX Controls Example: Insert Internet Explorer into your Dialogs

Rate me:
Please Sign up or sign in to vote.
4.43/5 (25 votes)
14 Mar 20034 min read 258.4K   4K   85  
Inserting an ActiveX control (Internet Explorer) into your dialogs and handling relevant events.
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__9D020ED0_2125_46BD_A8FE_CC7CC821EC0E__INCLUDED_)
#define AFX_STDAFX_H__9D020ED0_2125_46BD_A8FE_CC7CC821EC0E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__9D020ED0_2125_46BD_A8FE_CC7CC821EC0E__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Product Manager
Jordan Jordan
Graduated in 1999 with a Bachelors Degree (Computer Engineering) from McGill University in Montreal, Canada. Participated in the development of The McGill Intelligent Classroom (www.cim.mcgill.ca/~jer/research/eclass/). 2000 Joined Hummingbird Communications (www.hcl.com) and worked in the development of HostExplorer and FTP-explorer. 2001 moved from Canada to Jordan. Worked at SigmaSoft, developing MFC-ObjectARX applications for AutoCAD and other AutoDesk products, as well as other MFC\COM applications. Worked for MECA www.meca.com developing their Instant Messenger. Now working for Esense Software developing Applications for cellular phones among many other things.

Comments and Discussions