Topic: Need help with derived class in visual C++


Author: njhaveri@clc.gmeds.com (Nitesh Jhaveri)
Date: Wed, 22 Mar 1995 18:09:34 GMT
Raw View
I like someone with Microsoft C++ exprience to help me with following problem.

I have more then two dialog classes defined in my application as follows:

class CDilalog1 : public CDialog
{
     CDialog();
     ~CDialog1();
public:
 LoadDataGrid();
 UpdateData();
Public:
 CString m_var1;
 int Max;

};

2nd class is as follows:
Class CDialog2 : public CDialog
{
       CDialog2();
       ~CDialog2();
};

Both dialog box share same functionallity.
I would like to find out how can I use member function of CDialog1 such as
LoadDataGrid() in CDialog2 class when my CDialog2 dialog box is active and
CDialog1 is not active.

Please respond to this note or call me a 810-236-4555.
Thanks in advance,

| Nitesh Jhaveri - EDS CLCD Engg. & Dev. Ctr.|
| njhaveri@clc.gmeds.com                                  |
|                                                        |