thebarslider
Programmer
Dear All,
I have quite a major problem. I have a dialog MFC application with an ActiveX component embedded into the dialog. I have created objects that are generated on pressing certain buttons in the dialog. (COneDialog class). The objects are generated one after each other.
The problem i am having is that i now wish to access a pointer to the ActiveX component (the pointer is produced in the Dialog class). I cannot simply
#include "OneDlg.h"
in my calling class as this ripples to the top of the object tree and causes compilation errors.
Does anyone know of another method i can get around this problem?
I've been stuck on this for ages and any suggestions would be very much appreciated.
Thank you to anyone who supplies me with idea's.
Mark.
I have quite a major problem. I have a dialog MFC application with an ActiveX component embedded into the dialog. I have created objects that are generated on pressing certain buttons in the dialog. (COneDialog class). The objects are generated one after each other.
The problem i am having is that i now wish to access a pointer to the ActiveX component (the pointer is produced in the Dialog class). I cannot simply
#include "OneDlg.h"
in my calling class as this ripples to the top of the object tree and causes compilation errors.
Does anyone know of another method i can get around this problem?
I've been stuck on this for ages and any suggestions would be very much appreciated.
Thank you to anyone who supplies me with idea's.
Mark.