How do I get a pointer to my main frame class. Specifically, I have a variable in my CMainFrm class that I want to set in my CView class. I need a pointer to my CMainFrame so I can type:
pMainFrm->variable = 0;


Right?

Thanks..