24点游戏程序设计 24点代码 24点游戏 24点WIN32代码 24点MFC
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6729 2014-04-22 02:51 24dian程序GAME211.vcxproj.filters
文件 143 2014-04-21 22:04 24dian程序GAME211.vcxproj.user
文件 2333 2014-04-21 22:04 24dian程序ReadMe.txt
文件 8374 2014-04-22 13:16 24dian程序
esource.h
文件 23558 2009-08-31 02:31 24dian程序small.ico
文件 212 2014-04-21 22:04 24dian程序stdafx.cpp
文件 475 2014-04-22 16:22 24dian程序stdafx.h
文件 238 2014-04-22 05:54 24dian程序 argetver.h
文件 4734 2014-04-22 16:30 24dian程序Debugcl.command.1.tlog
文件 49932 2014-04-22 16:30 24dian程序DebugCL.read.1.tlog
文件 3836 2014-04-22 16:30 24dian程序DebugCL.write.1.tlog
文件 10 2014-04-22 23:37 24dian程序Debuggame.in
文件 21 2014-04-22 23:37 24dian程序Debuggame.out
文件 5364224 2014-05-12 08:26 24dian程序DebugGAME211.exe
文件 406 2014-04-21 22:10 24dian程序DebugGAME211.exe.embed.manifest
文件 472 2014-04-22 14:09 24dian程序DebugGAME211.exe.embed.manifest.res
文件 381 2014-04-22 16:30 24dian程序DebugGAME211.exe.intermediate.manifest
文件 82 2014-04-22 16:30 24dian程序DebugGAME211.lastbuildstate
文件 2616 2014-04-22 16:30 24dian程序DebugGAME211.log
文件 115342 2014-04-22 16:30 24dian程序DebugGAME211.obj
文件 12845056 2014-04-22 16:25 24dian程序DebugGAME211.pch
文件 2935808 2014-05-12 08:26 24dian程序DebugGAME211.pdb
文件 4302876 2014-04-22 14:09 24dian程序DebugGAME211.res
文件 713 2014-04-21 22:51 24dian程序DebugGAME211.vcxprojResolveAssemblyReference.cache
文件 0 2014-04-21 22:07 24dian程序DebugGAME211.write.1.tlog
文件 204 2014-04-21 22:10 24dian程序DebugGAME211_manifest.rc
文件 277868 2014-04-22 16:25 24dian程序Debuggame24Calc.obj
文件 2 2014-04-22 16:30 24dian程序Debuglink-cvtres.read.1.tlog
文件 2 2014-04-22 16:30 24dian程序Debuglink-cvtres.write.1.tlog
文件 2 2014-04-22 16:30 24dian程序Debuglink.24688-cvtres.read.1.tlog
............此处省略285个文件信息
// GAME21.cpp : 定义应用程序的入口点。
//
#include “stdafx.h“
#include “GAME211.h“
#define MAX_LOADSTRING 100
// 全局变量:
HINSTANCE hInst; // 当前实例
TCHAR sztitle[MAX_LOADSTRING]; // 标题栏文本
TCHAR szWindowClass[MAX_LOADSTRING]; // 主窗口类名
HBITMAP bitmaps[52];
HBITMAP hBmpMain;
HBITMAP hBmpMan;
HDC hBMDC;
static int i;
static int j;
static int k;
static int lm;
// 此代码模块中包含的函数的前向声明:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE int);
LRESULT CALLBACK WndProc(HWND UINT WPARAM LPARAM);
INT_PTR CALLBACK About(HWND UINT WPARAM LPARAM);
int APIENTRY _tWinMain(HINSTANCE hInstance
HINSTANCE hPrevInstance
LPTSTR lpCmdLine
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// TODO: 在此放置代码。
for(WORD id=IDB_BITMAP1; id<=IDB_BITMAP52;id++ )
{
bitmaps[id-IDB_BITMAP1] = LoadBitmap(hInstanceMAKEINTRESOURCE(id));
}
hBmpMain = LoadBitmap(hInstanceMAKEINTRESOURCE(IDB_BMP_MAIN));
//MSG msg;
// HACCEL hAccelTable;
// 初始化全局字符串
//LoadString(hInstance IDS_APP_title sztitle MAX_LOADSTRING);
//LoadString(hInstance IDC_GAME211 szWindowClass MAX_LOADSTRING);
hInst = GetModuleHandle(NULL);
DialogBoxParam(hInstMAKEINTRESOURCE(DLG_MAIN)NULL(DLGPROC)WndProcNULL);
ExitProcess(NULL);
}
//
// 函数: MyRegisterClass()
//
// 目的: 注册窗口类。
//
// 注释:
//
// 仅当希望
// 此代码与添加到 Windows 95 中的“RegisterClassEx”
// 函数之前的 Win32 系统兼容时,才需要此函数及其用法。调用此函数十分重要,
// 这样应用程序就可以获得关联的
// “格式正确的”小图标。
//
//ATOM MyRegisterClass(HINSTANCE hInstance)
//{
// WNDCLASSEX wcex;
//
// wcex.cbSize = sizeof(WNDCLASSEX);
//
// wcex.style = CS_HREDRAW | CS_VREDRAW;
// wcex.lpfnWndProc = WndProc;
// wcex.cbClsExtra = 0;
// wcex.cbWndExtra = 0;
// wcex.hInstance = hInstance;
// wcex.hIcon = LoadIcon(hInstance MAKEINTRESOURCE(IDI_GAME21));
// wcex.hCursor = LoadCursor(NULL IDC_ARROW);
// wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
// wcex.lpszMenuName = MAKEINTRESOURCE(IDC_GAME21);
// wcex.lpszClassName = szWindowClass;
// wcex.hIconSm = LoadIcon(wcex.hInstance MAKEINTRESOURCE(IDI_SMALL));
//
// return RegisterClassEx(&wcex);
//}
void OnDrawBmp(HWND hDesWndHBITMAP hBmp)
{
RECT rect;
HDC hdchMmpdc;
BITMAP bm;
int cxClientcyClientbmWidthbmHeight;
GetWindowRect(hDesWnd&rect);
cxClient = rect.right - rect.left;
cyClient = rect.bottom - rect.top;
hMmpdc = CreateCompatibleDC(hdc = GetDC(hDesWnd));
Selectobject(hMmpdchBmp);
::Getobject( hBmp sizeof( bm ) &bm );
bmWidth = bm.bmWidth;
bmHeight = bm.bmHeight;
StretchBlt(hdc00cxClientcyClienthMmpdc00bmWidthbmHeightMERGECOPY);
ReleaseDC(hDesWndhdc);
DeleteDC(hMmpdc);
//Deleteobject(hBmp);
}
bool calc(std::wstring strResult)
{
std::wstring result;
std::vector strack;
return true;
}
void OnDeal(HWND hWnd)
{
H
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6729 2014-04-22 02:51 24dian程序GAME211.vcxproj.filters
文件 143 2014-04-21 22:04 24dian程序GAME211.vcxproj.user
文件 2333 2014-04-21 22:04 24dian程序ReadMe.txt
文件 8374 2014-04-22 13:16 24dian程序
esource.h
文件 23558 2009-08-31 02:31 24dian程序small.ico
文件 212 2014-04-21 22:04 24dian程序stdafx.cpp
文件 475 2014-04-22 16:22 24dian程序stdafx.h
文件 238 2014-04-22 05:54 24dian程序 argetver.h
文件 4734 2014-04-22 16:30 24dian程序Debugcl.command.1.tlog
文件 49932 2014-04-22 16:30 24dian程序DebugCL.read.1.tlog
文件 3836 2014-04-22 16:30 24dian程序DebugCL.write.1.tlog
文件 10 2014-04-22 23:37 24dian程序Debuggame.in
文件 21 2014-04-22 23:37 24dian程序Debuggame.out
文件 5364224 2014-05-12 08:26 24dian程序DebugGAME211.exe
文件 406 2014-04-21 22:10 24dian程序DebugGAME211.exe.em
文件 472 2014-04-22 14:09 24dian程序DebugGAME211.exe.em
文件 381 2014-04-22 16:30 24dian程序DebugGAME211.exe.intermediate.manifest
文件 82 2014-04-22 16:30 24dian程序DebugGAME211.lastbuildstate
文件 2616 2014-04-22 16:30 24dian程序DebugGAME211.log
文件 115342 2014-04-22 16:30 24dian程序DebugGAME211.obj
文件 12845056 2014-04-22 16:25 24dian程序DebugGAME211.pch
文件 2935808 2014-05-12 08:26 24dian程序DebugGAME211.pdb
文件 4302876 2014-04-22 14:09 24dian程序DebugGAME211.res
文件 713 2014-04-21 22:51 24dian程序DebugGAME211.vcxprojResolveAssemblyReference.cache
文件 0 2014-04-21 22:07 24dian程序DebugGAME211.write.1.tlog
文件 204 2014-04-21 22:10 24dian程序DebugGAME211_manifest.rc
文件 277868 2014-04-22 16:25 24dian程序Debuggame24Calc.obj
文件 2 2014-04-22 16:30 24dian程序Debugli
文件 2 2014-04-22 16:30 24dian程序Debugli
文件 2 2014-04-22 16:30 24dian程序Debugli
............此处省略285个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)