Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By Mickey Williams and David Bennett

Chapter 28. ActiveX Controls

by Vincent W. Mayfield and Mickey Williams

In This Chapter

  • A Short History
  • What Is an ActiveX Control?
  • ActiveX Control Architecture
  • ActiveX Control Interfaces
  • ActiveX Controls
  • Reinventing the Wheel
  • Testing an ActiveX Control
  • Methods of Creating ActiveX Controls
  • Creating an ActiveX Control with Visual C++ and MFC

This chapter discusses ActiveX controls. ActiveX controls are an evolved form of object linking and embedding (OLE) controls, which commonly are referred to as OLE control extensions (OCXs). The ActiveX control specification contains enhancements that make ActiveX controls more useful in Internet applications.

You can think of ActiveX controls as functional pieces of code packaged into reusable components. Every ActiveX control offers guarantees about how it interacts with its environment through the interfaces it chooses to export. Although many ActiveX controls are user-interface components, these controls do not have to be visible.

+ Share This