Thanks Chip. I was beginning to wonder that myself. Turns out that I forgot to call the base class constructor.
The code should read:
public class MyClass : AxTheActiveXControl
{
public MyClass() : base() {}
}
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.