How can I call an ActiveX control (particularily the MSComm.ctl) from a different cpp file than that of the forms cpp file that the control resides on. I want to be able to use this control in my class implementation not from directly on the form.
Printable View
How can I call an ActiveX control (particularily the MSComm.ctl) from a different cpp file than that of the forms cpp file that the control resides on. I want to be able to use this control in my class implementation not from directly on the form.
Just a guess. Can you make the comm activeX a public class member of the form it resides and subclass it in the form, then use that member in your *.cpp (or class)?