Creating Custom ActiveX Controls in Visual C++

Creating Custom ActiveX Controls in Visual C++

An ActiveX is class, is a library, is a COM object further more is a concept itself.

ActiveX controls are pieces of code compiled and linked that could live in a dll or by itself in an ocx file.

The ActiveX must be loaded by other applications like a web browser or you can drag and drop it in your application. To test an ActiveX you can use ActiveX control test container.

Creating the ActiveX:

Let’s start building an ActiveX and will discus more at the right time.

First click New in the File Menu and choose MFC ActiveX ControlWizard type. Name it EvolActiveX. Click OK.

Select Help Files to be generated. You don’t want runtime license.

In the 2nd step you will uncheck <> because you will don’t need this to complete this mini-tutorial. When creating this control you can here subclassing window classes (the common controls). The “Advanced” button lead you to “Advanced ActiveX features”. This properties will add some extra feature to our code.

By clicking finish you will be brought to your new workspace. Here we have EvolActiveX classes:


Attachments

Project Files Evol ActiveX Demo

1 2 3

Close    To Top
  • Prev Article-Programming:
  • Next Article-Programming: None
  • Now: Tutorial for Web and Software Design > Programming > c > Programming Content
    Photoshop Tutorial
     

    Special Effect

      3D Effect
      Photoshop Articles
    Programming Tutorial
     

    C/C++ Tutorial

      Visual Basic
      C# Tutorial
    Database Tutorial
     

    MySQL Tutorial

      MS SQL Tutorial
      Oracle Tutorial
    Geek Tutorial
     

    Blogging Tutorial

      RSS Tutorial
      Podcasting Tutorial
    Graphic Design Tutorial
      Coreldraw Tutorial
      Illustrator Tutorial
      3D Tutorials
    Webmaster Articles
     

    Domain Service

      Web Hosting
      Site Promotion
    Java Tutorial/ Articles
     

    Java Servlets

      JavaEE Tutorial
     

    JavaBeans Tutorial

    XML Tutorial/ Articles
     

    XML Style

      AJAX Tutorial
      XML Mobile
    Flash Tutorial/ Articles
     

    Flash Video

      Action Script
      Flash Articles
    OS Tutorial/ Articles
      Linux Tutorial
      Symbian Tutorial
      MacOS Tutorial
    Personal Tech
      Hardware Tutorial
      Software Tutorial
      Online Auction