Click to See Complete Forum and Search --> : Instance of view?


ericJA
April 13th, 1999, 05:24 PM
header file:
class CDDFaxRouterAdministratorApp : public CWinApp

CSingleDocTemplate* pDocTemplate;


class file:
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CDDFaxRouterAdministratorDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
RUNTIME_CLASS( CFRouterView ));
AddDocTemplate(pDocTemplate);

In CFRouterView class
private:
BOOL blValue;


In another class I want to access this variable at some time later ,
But with Doc/view
not really sure how how to do in b/c there is no instance of CFRouterView.

If I have a member function of class CPage, and need to access the
blValue variable in CFrouterView how do you do that?

CPage::getInfo()
{

}

Also, is the Instance for the doc portion pDocTemplate?
Thanks