How can I interact with variables in my CChildView class from other objects? I have tried AfxGetMainWnd()->int GetVariable(), which compiled fine, but does not return the correct number. While debugging I noticed that somehow it changed from 5 to 0 once CChildView::GetVariable was called. I don't think my CChildView is the main window, (CMainFrame is) so how do I get ahold of it properly?
thx in advance
-Bones
thx in advance
-Bones