Acces from CView to CChildFrame and/or CMyApp
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi How can I access public variables of CChildFrame and CMyApp from my CView? Or: How to access CChildFrame and CMyApp from any other class? I tried:
CMyApp theApp; theApp.public_data = ...;
but this is not working. Please HELP me CU Timenyou can get the app with AfxGetApp: CMyApp *pApp = (CMyApp*)AfxGetApp(); this site[^] can show you how to get lists of docs, framewnds, views, etc.. Cleek | Image Toolkits | Thumbnail maker