Greetings programers.
I'm programming in Microsoft Visual C++ 6.0. The problem is the following. I use the Wizar to create my template App (Dialog based). I use 2 Classes let's say CDialog-derived one and a CInternerSession-derived other. I added int the Dialog a pointer to a CInternerSession-derived, so I can controll the CInternerSession from the Dialog. But here is the question: There is a Callback method in the CInternerSession-derived I overrided and this Callback is called by the system when an Internal event occurs. How can I control or call some methods of the Dialog from this CallBack of the other Class (CInternerSession). The Question is: How can I get Acces to the Dialog or some other Class from another one ? Is there something like GetActuall Dialog ?
Thanks
I'm programming in Microsoft Visual C++ 6.0. The problem is the following. I use the Wizar to create my template App (Dialog based). I use 2 Classes let's say CDialog-derived one and a CInternerSession-derived other. I added int the Dialog a pointer to a CInternerSession-derived, so I can controll the CInternerSession from the Dialog. But here is the question: There is a Callback method in the CInternerSession-derived I overrided and this Callback is called by the system when an Internal event occurs. How can I control or call some methods of the Dialog from this CallBack of the other Class (CInternerSession). The Question is: How can I get Acces to the Dialog or some other Class from another one ? Is there something like GetActuall Dialog ?
Thanks