📄 bxt.h
字号:
// bxt.h : main header file for the BXT application
//
#if !defined(AFX_BXT_H__3CA1C365_5C8F_11D4_9FD5_5254ABDD2B16__INCLUDED_)
#define AFX_BXT_H__3CA1C365_5C8F_11D4_9FD5_5254ABDD2B16__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CBxtApp:
// See bxt.cpp for the implementation of this class
//
#define WX_TABSELCHANG (WM_USER + 200) // The CTabCtrl Select Changed
#define WX_QUERY (WM_USER + 201) // Send The Query statment to queryrun
#define WX_DSPIMG (WM_USER + 202) // Send the image display style
#define WX_DSPPRC (WM_USER + 203) // Send the image display style
#define WX_DSPMSU (WM_USER + 204) // Send the image display style
#define WX_DSPZOOM (WM_USER + 205) // Send the image display style
#define WX_DSPMRK (WM_USER + 206) // Send the image display style
#define WX_DSPSTRETCH (WM_USER + 207)
#define WX_DSPCHGCURPIC (WM_USER + 208)
#define WX_REPORT (WM_USER + 209) // Show Report With Specify ID
#define WX_SAVEREPORT (WM_USER + 210) // Save Report Into The Current Record
#define WX_SETRECORDID (WM_USER + 211) // Set Current Record's ID
#define WX_SETHELP (WM_USER + 212) // Send the help index
#define WX_DSPCONBRI (WM_USER + 213) // 亮度对比度调整
#define WX_BSPWINPOS (WM_USER + 214) // 窗宽窗位调整
#define WX_RECONE (WM_USER + 215) // Capture one pic
#define WX_SETDSPMODE (WM_USER + 216) // set the pcih disp mode field
#define WX_RECSETBRI (WM_USER + 217) // Set Bright
#define WX_RECSETCON (WM_USER + 218) // Set Contrast
#define WX_RECSETFRQ (WM_USER + 219) // Set freq
#define WX_RECSETCLP (WM_USER + 220) // Set ClampLevel
#define WX_REPHOTO (WM_USER + 221)
#define WX_STOP (WM_USER + 222)
#define WX_TEST (WM_USER + 223) // test signal
#define WX_SETREBRI (WM_USER + 224) // set rephoto bright
#define WX_SETRPT (WM_USER + 225) // set the report
#define WX_CHGPALT (WM_USER + 226) // chage the pallte of gray pic
#define WX_SETRESTRICT (WM_USER + 1000) // 设置匹配信息
#define WX_RETRIEVERECORD (WM_USER + 1010) // 获取记录
#define WX_SETORDER (WM_USER + 2000) // 设置排序信息
#define WX_SETWHERE (WM_USER + 2010) // 设置过滤信息
enum UI_TYPE
{
UI_TYPE_SIMPLE = 0,
UI_TYPE_NORMAL = 1,
UI_TYPE_NODATABASE = 2
};
typedef struct tagCONFIG_STRUCT
{
INT iUiType;
CHAR sBackupPath[MAX_PATH];
CHAR sCDDatapath[MAX_PATH];
}CONFIG_STRUCT, *PCONFIG_STRUCT;
class CBxtApp : public CWinApp
{
public:
PCONFIG_STRUCT GetConfig();
CBxtApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBxtApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CBxtApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
CONFIG_STRUCT m_cfg;
PCONFIG_STRUCT m_pCfg;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BXT_H__3CA1C365_5C8F_11D4_9FD5_5254ABDD2B16__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -