I'm going to develop two ActiveX components (say ActiveX1 and ActiveX2) and put them in the same window. Now the question is,
is it possible for ActiveX1 to call functions defined in ActiveX2, or vice versa?
Lots of thanks ahead!
Simen
Printable View
I'm going to develop two ActiveX components (say ActiveX1 and ActiveX2) and put them in the same window. Now the question is,
is it possible for ActiveX1 to call functions defined in ActiveX2, or vice versa?
Lots of thanks ahead!
Simen
Well, I dont know if this will help you or not, but you can pass an instance of the app to each of the controls and make sure that the app has an instance of both the controls in a globally accessable place. Then the controls can invoke functions by refrencing the instance of the application. The downside to this is that you need to know the type of the app like (CMyTestapp).