Subclassing an ActiveX control 
Author Message
 Subclassing an ActiveX control

Hello -

I'm trying to figure out how to subclass an ActiveX control. I need to
extend the functionality of it. Ultimately I need to intercept OnPaint and
OnMouseXXX events. Once I have processed them, I then need to pass them on
to the ActiveX control so that it can process them.

I'm trying to do something like:

public class MyClass : AxTheActiveXControl
{
        public MyClass() {}

Quote:
}

I was thinking that I would inherit the ActiveX controls properties.

So, in the code that instantiates MyClass

MyClass myClass = new MyClass();
myClass.property = 1;

I don't seem to be getting anywhere with this. Obviously I'm missing
something.

Any thoughts, pointers, etc would be appreciated.

Thanks,
john



Tue, 07 Dec 2004 09:30:20 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Subclassing an ActiveX control

2. subclassing ListView32 in an activex-control

3. subclassing controls w/ ActiveX

4. ActiveX Control: Subclassing from ListView

5. Subclassing Activex controls from commctrl (treectrl) in MFC

6. Control webbrowser ActiveX control in composit ActiveX control

7. ActiveX control inside another activex control

8. Need help with ActiveX control containing other activex controls

9. ATL ActiveX Control hosting code fails to initialize ActiveX Controls on Win9x

10. ActiveX control inside another ActiveX control

11. Need help with ActiveX control containing other activex controls

12. ActiveX control in an ActiveX control

 

 
Powered by phpBB® Forum Software