資源簡介
VC++五子棋窗體界面程序源碼(可以VC6.0直接編譯源碼即可運行,經(jīng)本人親自測試運行成功!)

代碼片段和文件信息
//?7.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“7.h“
#include?“7Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMyApp
BEGIN_MESSAGE_MAP(CMyApp?CWinApp)
//{{AFX_MSG_MAP(CMyApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMyApp?construction
CMyApp::CMyApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMyApp?object
CMyApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMyApp?initialization
BOOL?CMyApp::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?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CMyDlg?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?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10636??2009-02-28?20:23??妙手連珠2\Chess.cpp
?????文件???????1199??2009-02-28?20:23??妙手連珠2\Chess.h
?????文件?????????40??2009-02-28?19:17??妙手連珠2\info.h
?????文件???????3567??2009-02-27?13:43??妙手連珠2\ReadMe.txt
?????文件?????200886??2009-02-27?16:53??妙手連珠2\res\qp.bmp
????..A.SH.??????8192??2009-12-12?10:48??妙手連珠2\res\Thumbs.db
?????文件???????1078??2009-02-27?13:43??妙手連珠2\res\五子棋.ico
?????文件????????398??2009-02-27?13:43??妙手連珠2\res\五子棋.rc2
?????文件???????1096??2009-02-28?19:44??妙手連珠2\Resource.h
?????文件????????962??2009-02-28?19:47??妙手連珠2\SettingDlg.cpp
?????文件???????1219??2009-02-28?19:47??妙手連珠2\SettingDlg.h
?????文件????????208??2009-02-27?13:43??妙手連珠2\StdAfx.cpp
?????文件???????1054??2009-02-27?13:43??妙手連珠2\StdAfx.h
?????文件?????222680??2009-12-16?11:03??妙手連珠2\五子棋.aps
?????文件???????1739??2009-12-16?11:03??妙手連珠2\五子棋.clw
?????文件???????2019??2009-02-27?13:43??妙手連珠2\五子棋.cpp
?????文件???????4550??2009-02-28?20:36??妙手連珠2\五子棋.dsp
?????文件????????520??2009-02-27?13:43??妙手連珠2\五子棋.dsw
?????文件???????1286??2009-02-27?13:43??妙手連珠2\五子棋.h
?????文件?????148480??2009-12-16?11:03??妙手連珠2\五子棋.ncb
?????文件??????51712??2009-12-16?11:03??妙手連珠2\五子棋.opt
?????文件????????248??2009-12-16?11:03??妙手連珠2\五子棋.plg
?????文件???????6488??2009-02-28?19:44??妙手連珠2\五子棋.rc
?????文件???????5343??2009-02-28?19:46??妙手連珠2\五子棋Dlg.cpp
?????文件???????1556??2009-02-28?19:44??妙手連珠2\五子棋Dlg.h
?????文件?????237696??2009-12-09?18:36??妙手連珠1\7.aps
?????文件???????2002??2001-08-10?02:44??妙手連珠1\7.cpp
?????文件????????727??2001-08-11?07:55??妙手連珠1\7.dep
?????文件???????5097??2001-08-18?00:40??妙手連珠1\7.dsp
?????文件????????525??2001-08-08?01:47??妙手連珠1\7.dsw
............此處省略41個文件信息
評論
共有 條評論