📄 stdafx.h
字号:
// 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__5D34642D_C345_4A94_83CE_30E7DCC127E2__INCLUDED_)
#define AFX_STDAFX_H__5D34642D_C345_4A94_83CE_30E7DCC127E2__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
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include "Ado.h"
#include <afxtempl.h>
#include "GlobalFun.h"
#include <WINSPOOL.H>
#define A4_W 210 //A4纸宽度mm
#define A4_H 296 //A4纸高度mm
#define A4_ONELINE 29 //A4纸第一页行数
#define A4_OTHERLINE 30 //A4纸其它页行数
//打印结构
typedef struct
{
int nMaxLine; //最大行数
int nCountPage; //一共页数
int nCurPage; //当前页码
BOOL IsPrint; //是否打印
HWND hWnd; //窗口句柄
HWND hListView; //列表控件句柄
TCHAR szTag[256]; //其它数据
int nTag; //其它数据
LPVOID lpVoid; //其它数据
}PRNINFO, *PPRNINFO;
typedef void(*PRINTPREVIEW) (CDC &MemDC, PRNINFO PrnInfo);
#include "Resource.h"
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__5D34642D_C345_4A94_83CE_30E7DCC127E2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -