Extending a 3d party ActiveX with VC6.0

I am in the process of testing out different imaging controls (delivered by different 3d party vendors) and I am allready stuck before I got to begin.

I've made several ActiveX controls in the past, but these have all been non-graphical (business logic only).

I would like to illustrate with an example:

Say that I have an activeX control named someImage.ocx

This activeX has the following functions:

- loadImage()
- displayImage()
- drawLine()
- drawText

I now want to write my own ActiveX control that in addition to exposing the behaviour (and events) from the someImage.ocx, in addition adds two functions of it's own:

- highlightArea()
- setTextAnnotation()

To accomplish this, what is the simplest way of doing so in Visual C++ 6.0 ?
I know that in Visual Basic, it's simply a matter of creating an empty, visual ActiveX control, and then adding references to the control I want to "override", but I fear that VB is way too slow to be handling images in my application, especially since there's going to be alot of calculations made for different aspects of the program.

Any tips are welcomed.
[1220 byte] By [Pedro_Dias] at [2007-11-19 1:35:34]