richtestview.h
来自「故障诊断工作涉及的领域相当广泛」· C头文件 代码 · 共 82 行
H
82 行
// richtestView.h : interface of the CRichtestView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RICHTESTVIEW_H__750F0191_288D_4793_92F2_044AEDDCADE2__INCLUDED_)
#define AFX_RICHTESTVIEW_H__750F0191_288D_4793_92F2_044AEDDCADE2__INCLUDED_
#define MAX_CONECTOR_COUNT 32
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "richtestDoc.h"
class CRichtestCntrItem;
#include "command.h"
class CRichtestView : public CRichEditView
{ command* pcmd;
//int cmd_cnt;
//const command* cmdinfo;
protected: // create from serialization only
CRichtestView();
DECLARE_DYNCREATE(CRichtestView)
// Attributes
public:
CRichtestDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRichtestView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void search_connector(int* cid,int* cnt);
BOOL searchfor(char* ,int,char* ,int);
void prepare(int id);
void hint_command(int id);
int run_command(int* pcid,int cnt);
BOOL check_command(int id);
void getdata_command();
int search_command(char* line,int cnt);
virtual ~CRichtestView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CRichtestView)
afx_msg void OnDestroy();
afx_msg void OnCancelEditSrvr();
afx_msg void Onshuchu();
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in richtestView.cpp
inline CRichtestDoc* CRichtestView::GetDocument()
{ return (CRichtestDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RICHTESTVIEW_H__750F0191_288D_4793_92F2_044AEDDCADE2__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?