Description: The purpose of this article is to provide an introductory tutorial to implement connection points in VC++ using ATL. For deeper understanding of connection points I suggest you read Code Project/COM / DCOM - Connection Points And Asynchronous calls - Part I. From a simplistic point of view I tend to treat Connection Points as an event handling mechanism for COM. So if you created an ActiveX control, a button for example and you wanted the click event to be handled by the container of the control and not the control itself you would use connection points. You may, however, go beyond just handling windows event and create those of your own. I have found that creating connection points in VC++ 6.0 to be a little confusing and not very obvious. I did these a couple of years ago while creating some controls and then recently had to use connection points again and just could not remember how I implemented them the first time. This tutorial is designed to help figure out how to create connection points using VC++...
Resource Specification
Date Added:
01/31/2004
tr>
Last Updated:
01/31/2004
Author:
Ranjan Banerji
Average Visitor Rating:3 (out of 5) Number of Ratings: 1 Votes
Tutorial Maniacs - C#, PHP, ASP, .NET, Photoshop, Flash, Fireworks, & other design and programming tutorials... The most comprehensive collection of QUALITY hand picked design and programming tutorials and articles...(C) 2003