stdafx.h

来自「共享内存的源代码」· C头文件 代码 · 共 76 行

H
76
字号
// 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__7481B113_E8CC_4CD8_88EE_1847D7E81615__INCLUDED_)
#define AFX_STDAFX_H__7481B113_E8CC_4CD8_88EE_1847D7E81615__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 <afxcview.h>
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxdlgs.h>
#include <Afxtempl.h>
#include <afx.h>

//view列表框列名
#define YCNO_COL		0				//hardware ID HWID, YCxxx
#define PAGENUM_COL		YCNO_COL + 1	//APID, 5110
#define IP_COL			YCNO_COL + 2	//IP address
#define DATAPACK_COL	YCNO_COL + 3		//Available or not
#define COM_COL			STATES_COL + 1	//COM port number
#define TIME_COL		COM_COL + 1		//Start time

//tool名字列表
	//m_wndToolBar.SetButtonText(0,"Programmer");
	//m_wndToolBar.SetButtonText(1,"Auto Map");
	//m_wndToolBar.SetButtonText(2,"Unmap");
	//m_wndToolBar.SetButtonText(3,"Properties");
	//m_wndToolBar.SetButtonText(5,"Icons");
	//m_wndToolBar.SetButtonText(6,"Small Icon");
	//m_wndToolBar.SetButtonText(7,"List");
	//m_wndToolBar.SetButtonText(8,"Details");
	//m_wndToolBar.SetButtonText(10,"Refresh");

//消息
	//托盘
	#define WM_TRAYMESSAGE		WM_USER + 5	
	//非首次,自动托盘最小化程序
	#define WM_SHOWWNDBYPREV    WM_USER + 6
	//发送给首次打开的程序
	#define WM_MAPCOMPORT		WM_USER + 7

	#define YC_NUM_MAX          39  //安桥总数
	#define YC_FIRST_NUM        116 //第一个安桥的编号
	#define COMMNICATIONPACKET_LOW  "100 byte"
    #define COMMNICATIONPACKET_HIGH  "300 byte"

    #define  COMMANDLINE_MARK    _T("/Man")
   //#define matrix_allocate(matrix, width, height, TYPE) {\ 
   //  matrix = new TYPE* [height];\ 
   //  for(int _i = 0; _i < height; _i++)\ 
   //  matrix[_i] = new TYPE[width];\ 
   // } 
   // #define matrix_delete(matrix, width, height){\ 
   //  for(int _i = 0; _i < height; _i++)\ 
   //  delete [] matrix[_i];\ 
   //  delete [] matrix;\ 
   //  matrix = 0;\ 
   // } 

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

#endif // !defined(AFX_STDAFX_H__7481B113_E8CC_4CD8_88EE_1847D7E81615__INCLUDED_)

⌨️ 快捷键说明

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