Hi everybody,
I am developing an application where I have to communicate between classes. This problem is complicated but ask for more clarification. My program is as follows:
class CMyDialogClassDlg : public CDialogEx
{
public:
CSinkManager *m_CSinkManager;
void func1()
{
m_CSinkManager = new CSinkManager();
}
}
class CSinkManager
{
private:
CAdviseSink *m_adviseSink;
public:
void func2()
{
*m_adviseSink = new CAdviseSink();
}
}
class CAdviseSink
{
public:
void func3()
{
// compute values and send it back to dialog box
}
}All I want is the values in CAdviseSink should send the values computed to the Dialog box. I am having difficulty in getting an idea to solve this problem. Kindly help me.
Thanks & regards,
Talib Hussain