OCX that wraps another OCX
Posted on 1997-03-04
I would like to create an OCX control that does some translation and then calls an OCX control to do the work.
Program uses OCX control to add two scaled numbers
1 Program calls OCX control (Control A).
2 Control A multiplies value by 10 then calls Control B with this value
3 Control B adds 10 to the value then fires an event to Control A.
4 Control A divides this value by 10 then fires an event to the Program
I know how to write the Program and Control B. Both of these are handled readily by the MFC Wizards. How do I do Control A? BTW...What I need to do is actually a lot more complicated, but I can use the example to do what I need.