stdafx.h

来自「一款45度2D游戏地图编辑器和大家一起分享啊!」· C头文件 代码 · 共 48 行

H
48
字号
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__5928BA5E_9AB5_4BBE_B24C_4391ACC9533C__INCLUDED_)
#define AFX_STDAFX_H__5928BA5E_9AB5_4BBE_B24C_4391ACC9533C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#include <mmsystem.h>
#pragma comment(lib,"winmm.lib") 
#pragma comment(lib, "ddraw")
#pragma comment(lib, "d3d8")
#pragma comment(lib, "d3dx")
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include ".\src\sizecbar.h"
#include ".\src\AutoHideBar.h"
#define WM_BRUSH_ID (WM_USER+201)   //自定义消息,画刷改变了

#define WM_AUTOHIDE_ON WM_USER+101
#define ID_INDICATOR_MAP_POSITION (WM_USER+102)
#define ID_INDICATOR_BUSH_ID (WM_USER+103)
#define ID_INDICATOR_MAP_CHANGE (WM_USER+107)
#define WM_BUSH_ID           (WM_USER+104)
#define WM_MAP_ARRAY         (WM_USER+105)
#define WM_MAP_POS           (WM_USER+106)
#ifdef _DEBUG
	#define _CRTDBG_MAP_ALLOC
	#include <stdlib.h>
	#include <crtdbg.h>
#endif

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__5928BA5E_9AB5_4BBE_B24C_4391ACC9533C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?