oModal if nResponse IDOK // TODO: Place code here to handle when the dialog is // dismissed with OK else if nResponse IDCANCEL // TODO: Place code here to handle when the dialog is // dismissed with Cancel // Since the dialog has been closed return FALSE so that we exit the // application rather than start the applications message pump. return FALSE文件名称 : FileTransferServer.cppinclude stdafx.hinclude FileTransferServer.hinclude FileTransferServerDlg.hifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE __FILE__endif/////////////////////////////////////////////////////////////////////////////// CFileTransferServerAppBEGIN_MESSAGE_MAPCFileTransferServerApp CWinApp //AFX_MSG_MAPCFileTransferServerApp // 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_COMMANDID_HELP CWinApp::OnHelpEND_MESSAGE_MAP/////////////////////////////////////////////////////////////////////////////// CFileTransferServerApp constructionCFileTransferServerApp::CFileTransferServerApp // TODO: add construction code here // Place all significant initialization in InitInstance/////////////////////////////////////////////////////////////////////////////// The one and only CFileTransferServerApp objectCFileTransferServerApp theApp/////////////////////////////////////////////////////////////////////////////// CFileTransferServerApp initializationBOOL CFileTransferServerApp::InitInstance AfxEnableControlContainer // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable you should remove from the following // the specific initialization routines you do not need.ifdef _AFXDLL Enable3dControls // Call this when using MFC in a sharedDLLelse Enable3dControlsStatic // Call this when linking to MFCstaticallyendif CFileTransferServerDlg dlg m_pMainWnd dlg int nResponse dlg.DoModal if nResponse IDOK // TODO: Place code here to handle when the dialog is // dismissed with OK else if nResponse IDCANCEL // TODO: Place code here to handle when the dialog is // dismissed with Cancel // Since the dialog has been closed return FALSE so that we exit the // application rather than start the applications message pump. return FALSE
上一篇:
科学计算器课程设计报告
下一篇:
贪心算法论文终稿