关闭

VS2010 留存

标签: MFC
588人阅读 评论(1) 收藏 举报
分类:

BEGIN_MESSAGE_MAP(CFaceDetectApp, CWinApp)
	//{{AFX_MSG_MAP(CFaceDetectApp)
	ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
	//}}AFX_MSG_MAP
	// Standard file based document commands
	ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
	ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
	// Standard print setup command
	ON_COMMAND(ID_FILE_PRINT_SETUP, CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()



	//{{AFX_MSG(CFaceDetectApp)
	afx_msg void OnAppAbout();
	afx_msg void OnFileOpen();
	//}}AFX_MSG


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


BOOL CFaceDetectDoc::OnOpenDocument(LPCTSTR lpszPathName) 


DocumentManager?


==================================================================


void CClientDemoDlg::InitMainWin()
{




		CAboutDlg dlgAbout;
		dlgAbout.DoModal();






	CSingleDocTemplate* pDocTemplate;
	pDocTemplate = new CSingleDocTemplate(
		IDR_MAINFRAME,
		RUNTIME_CLASS(CFaceDetectDoc),
		RUNTIME_CLASS(CMainFrame),       // main SDI frame window
		RUNTIME_CLASS(CFaceDetectView));
	AddDocTemplate(pDocTemplate);


CString 转 int 

_ttoi()



0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:46009次
    • 积分:902
    • 等级:
    • 排名:千里之外
    • 原创:37篇
    • 转载:48篇
    • 译文:0篇
    • 评论:1条
    文章分类
    最新评论