Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Overview: Creating an MFC ActiveX Control Program

Visual Studio 6.0

https://msdn.microsoft.com/en-us/library/aa241105(v=vs.60).aspxOverviewHow Do IDetailshttps://msdn.microsoft.com/en-us/library/ms386053(v=vs.60).aspx

ActiveX (formerly OLE) Control programs are modular programs designed to give a specific type of functionality to a parent application. For example, you can create a control such as a button in a dialog or toolbar or on a Web page.

When you use the MFC ActiveX ControlWizard to create an MFC ActiveX Control program, you get a working starter application with built-in functionality that when compiled, will implement the basic features of an ActiveX Control. The starter program will include C++ source (.CPP) files, header (.H) files, and any optional files such as a type library source file (.ODL), a license validation file (.LIC), a Help Source file (.RTF) and so on, that you selected during setup. The code generated in these starter files is based on MFC.

There are three steps to this process. First, following the steps and choosing the options provided by the MFC ActiveX ControlWizard, you define the features of your program. Next, you compile and link the starter program. Finally, you add code to the starter files that the MFC ActiveX ControlWizard created.

What do you want to do?

Show:
© 2015 Microsoft