|
#include "stdafx.h"
#include "OXWinApp.h"
#include "OXDocMgr.h"
#include "OXPrvDlg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COXWinApp
IMPLEMENT_DYNAMIC(COXWinApp, CWinApp)
/////////////////////////////////////////////////////////////////////////////
// COXWinApp construction
COXWinApp::COXWinApp()
{
}
void COXWinApp::AddDocTemplate(CDocTemplate* pTemplate)
{
if (m_pDocManager == NULL)
m_pDocManager = new COXDocManager;
m_pDocManager->AddDocTemplate(pTemplate);
}
CFileDialog* COXWinApp::NewFileDialog(BOOL bOpenFileDialog)
{
return new CFileDialog(bOpenFileDialog);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.
Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.