資源簡介
Visual C++角色扮演游戲程序設計實例教程外加源碼,包含原書PDF以及對應章節的C++源碼。
代碼片段和文件信息
//
//?About-關于對話框
//
// Copyright?(c)?2000-2001?Chihiro.SAKAMOTO?(HyperWorks)
//
#include?“stdafx.h“
#include?“Application.h“
#include?“Dialog.h“
#include?“AboutDlg.h“
#include?“resource.h“
//
//?“關于本軟件”這個事件是以對話框來處理
//
// 藉由初始化動作,IDC_COMPANY和IDC_title會被重寫
//
BOOL?CAboutDlg::DlgProc(UINT?uMsg?WPARAM?wParam?LPARAM?lParam)
{
switch?(uMsg)?{
??case?WM_INITDIALOG: //?初始化
{
char copyright[256];
sprintf(copyright?“Copyright(c)?%s?%s“?__DATE__?+?7?CompanyName);
SetDlgItemText(IDC_COMPANY?copyright);
SetDlgItemText(IDC_title?Applicationtitle);
CenterWindow();
}
break;
??case?WM_COMMAND: //?按下按鈕
switch?(LOWORD(wParam))?{
??case?IDOK:
??case?IDCANCEL:
EndDialog(hDlg?LOWORD(wParam));
break;
}
break;
??default:
return?FALSE;
}
return?TRUE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......???????886??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\AboutDlg.cpp
????.......???????368??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\AboutDlg.h
????.......???????787??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Action.cpp
????.......???????879??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Action.h
????.......??????8122??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Battle.cpp
????.......??????3093??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Battle.h
????.......?????10616??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\CGDATA\block.bmp
????.......?????24632??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\CGDATA\Cursor.bmp
????.......????119096??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\CGDATA\fighter.bmp
????.......????921656??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\CGDATA\MAP1.bmp
????.......????317432??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\CGDATA\puyo.bmp
????.......??????1005??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Character.cpp
????.......??????2147??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Character.h
????.......???????341??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Config.h
????.......???????844??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\coordinate.h
????.......??????1107??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\DrawImage.cpp
????.......??????1340??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\DrawImage.h
????.......??????2349??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Image.cpp
????.......???????845??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Image.h
????.......??????4568??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\MainWin.cpp
????.......???????925??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\MainWin.h
????.......??????1078??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\RES\Sample.ico
????.......??????1129??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\resource.h
????.......??????1129??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sample.cpp
????.......??????5626??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sample.dsp
????.......???????541??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sample.dsw
????.......?????73728??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sample.exe
????.......???????422??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sample.h
????.......??????5096??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sample.rc
????.......???????697??2017-07-05?04:10??Visual?C++角色扮演游戲程序設計實例教程外加源碼\chapter10\Sprite.cpp
............此處省略484個文件信息
評論
共有 條評論