Sorry had to write that as no-one reads my threads :(
How do you subclass a class module???
I have an OCX, which is hidden at runtime, so I can in fact implement this as a class module...but, I need it to be subclassed? Any ideas???
Printable View
Sorry had to write that as no-one reads my threads :(
How do you subclass a class module???
I have an OCX, which is hidden at runtime, so I can in fact implement this as a class module...but, I need it to be subclassed? Any ideas???
Dim withevents myocx.
Something in that line i think.
Do a search on withevents
No, no, no :D
Subclassing...
I subclass the usercontrol so I can handle windows messages on a one-to-one basis...for this I need the handle for the usercontrol, that is no problem.
I want to implement the same features, from the usercontrol, in a class module, which doesn't have a handle, so how do you subclass it???
Oooo, just remembered something...b :D
well y not set reference to the ocx.
this will make the classes of the ocx available to u at runtime.
i did a similar thing for the COMM control.