Creating Custom ActiveX Controls in Visual C++
CoderSource.net
Creating Custom ActiveX Controls in Visual C++ - Article by shours
Level: BeginnerType: Article
Rating: 4Page: 1 of 3

Date: 1/21/2006 12:00:00 AM

Environment: Windows, Visual Studio

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

You Can Rate this Article, if you are Logged In      
 

More Links from CoderSource.net:

 
Refer to a Friend:

Your Details:

Name:     e-mail:

Friend Details:

Name:    e-mail:    


MENU
Home
MFC 
C++
.Net
WIN32
Programming
Forum
My Articles
Add to Google
Add to My Yahoo!
Welcome to Codersource.Net Login | Register | Faq  

SEARCH
Google
 

NOTES:


Thanks for visiting our CoderSource.net. This site will be improved with more articles. Interested visitors can also submit their articles through the Submit Article link.Your article will also be published after due consideration by the editor. 

© Copyright 2003. All rights on content reserved by CoderSource.net. Contact    About Us