24小时学习DX
文章平均质量分 80
myling
这个作者很懒,什么都没留下…
展开
-
24小时学DX之第一小时——win32窗体
#include //函数声明BOOL InitWindow( HINSTANCE hInstance, int nCmdShow );LRESULT CALLBACK WinProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam );//变量说明HWND hWnd; //窗口句柄//*********************原创 2004-09-14 22:14:00 · 1766 阅读 · 0 评论 -
24小时学DX之第二小时——显示一张背景图片
#include "stdafx.h"#include "resource.h"#define INITGUID#include #define SafeRelease(x) if (x) { x->Release(); x=NULL; }//函数声明BOOL InitWindow( HINSTANCE hInstance, int nCmdShow );LRESULT CALLBACK Wi原创 2004-09-14 22:20:00 · 3151 阅读 · 0 评论 -
24小时学DX之第三小时——双缓冲
#include "stdafx.h"#define INITGUID#include #define SafeRelease(x) if (x) { x->Release(); x=NULL; }#define IMAGE_COUNT 6 //图片数目?char file_names[IMAGE_COUNT][256] = {?? ?"E:/CJD/素材/pic/魔兽/1.bmp",原创 2004-09-14 22:23:00 · 2120 阅读 · 0 评论 -
24小时学DX之第四小时——计时器、title
/*==============================================================?? 24小时学习DX——第3小时=================================================================*/#include "stdafx.h"//#include "resource.h"#define原创 2004-09-14 22:26:00 · 1509 阅读 · 0 评论