![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
how to access User defined functions of my View class to MainFrm class?Hi,
how do i access User defined functions of view class to MainFrm class. i tred using CPP / C++ / C Code:
using the pointer pView i am able to access CView class funtions but not user defined funtion. how do i do that? Please help me . thanking you in advance. K.Prabhakar Last edited by LuciWiz : 11-May-2006 at 04:49.
Reason: Please insert your C++ code between [c++] & [/c++] tags
|
|||
|
#2
|
|||
|
|||
Re: how to access User defined funtions of my View class to MainFrm class?Not quite sure whether you want to access functions in your view class from your main frame (CFrameWnd derived) or access your view class (CView derived) from your main frame.
Accessing functions in your main frame class (from anywhere in the app)... CPP / C++ / C Code:
Accessing your view from your main frame class.. CPP / C++ / C Code:
Try playing around with those functions... |
Recent GIDBlog
Non-US citizens serving in the military by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a tester class and then some. | postage | Java Forum | 1 | 06-May-2006 15:48 |
| References to base class to access derived class only members | mirizar | CPP / C++ Forum | 3 | 03-Dec-2005 20:40 |
| C++ PhoneBook | marita | CPP / C++ Forum | 46 | 12-Jun-2005 12:10 |
| Error C2146: syntax error : missing ',' before identifier 'C4' | mattchew008 | CPP / C++ Forum | 2 | 19-Dec-2004 06:06 |
| Help! Some basal questions about MFC | xutingnjupt | MS Visual C++ / MFC Forum | 1 | 05-Dec-2004 03:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The