////////////////////////////////////////////////////
//        //
// .                                      //
// ---------------------------------------------- //
//                          //
////////////////////////////////////////////////////

#include "stdafx.h"
#include "SampleLP.h"
#include "SampleLPDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSampleLPApp

BEGIN_MESSAGE_MAP(CSampleLPApp, CWinApp)
	//{{AFX_MSG_MAP(CSampleLPApp)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSampleLPApp construction

CSampleLPApp::CSampleLPApp()
{

}

/////////////////////////////////////////////////////////////////////////////
// The one and only CSampleLPApp object

CSampleLPApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CSampleLPApp initialization

BOOL CSampleLPApp::InitInstance()
{
	AfxEnableControlContainer();

#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif

	CSampleLPDlg dlg;
	m_pMainWnd = &dlg;
	dlg.DoModal();

	return FALSE;
}
