?? portdataview.h
字號:
// RevDataView.h : interface of the CPortDataView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_REVDATAVIEW_H__E0EE8825_EC35_4126_B80D_36143178C22D__INCLUDED_)
#define AFX_REVDATAVIEW_H__E0EE8825_EC35_4126_B80D_36143178C22D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CRevDataCntrItem;
class CPortDataView : public CRichEditView
{
protected: // create from serialization only
CPortDataView();
DECLARE_DYNCREATE(CPortDataView)
// Attributes
public:
// CRevDataDoc* GetDocument();
CCeToolsApp *app;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPortDataView)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CPortDataView();
/*
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
*/
public:
int ViewData();
protected:
CHARFORMAT cf;
LOGFONT logfont;
COLORREF colorref_rev;
COLORREF colorref_back;
long FlagCharColor;//關鍵字顏色
int FlagCharNum;//關鍵字個數
CString FlagChar[100];//關鍵字
int ViewPause;//1:暫停
int ListViewCount;
// Generated message map functions
protected:
CString GetViewStr(int ch);
//{{AFX_MSG(CPortDataView)
afx_msg void OnFlagchar();
afx_msg void OnFlagcolor();
afx_msg void OnBackcolor();
afx_msg void OnFontSet();
afx_msg void OnCharcolorRev();
afx_msg void OnClearChar();
afx_msg void OnFlagcharView();
afx_msg void OnCView();
afx_msg void OnPView();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnShowA();
afx_msg void OnShowB();
afx_msg void OnShowAll();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
afx_msg void OnViewData(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
/*
#ifndef _DEBUG // debug version in RevDataView.cpp
inline CRevDataDoc* CPortDataView::GetDocument()
{ return (CRevDataDoc*)m_pDocument; }
#endif
*/
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REVDATAVIEW_H__E0EE8825_EC35_4126_B80D_36143178C22D__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -