Tia
April 21st, 1999, 08:59 AM
This is my code:
void CPayrollApp::OnFileNew()
{
POSITION p = m_pDocManager->GetFirstDocTemplatePosition();
CSingleDocTemplate* pTemplate = (CSingleDocTemplate*)m_pDocManager->GetNextDocTemplate( p );
pTemplate->OpenDocumentFile(NULL);
}
1) i cannot find any documentation on m_pDocManager
2) i'm trying to open my application with a specific view and not the first view in the list of views.
can anyone help me???
void CPayrollApp::OnFileNew()
{
POSITION p = m_pDocManager->GetFirstDocTemplatePosition();
CSingleDocTemplate* pTemplate = (CSingleDocTemplate*)m_pDocManager->GetNextDocTemplate( p );
pTemplate->OpenDocumentFile(NULL);
}
1) i cannot find any documentation on m_pDocManager
2) i'm trying to open my application with a specific view and not the first view in the list of views.
can anyone help me???