加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DBGHelperView.h 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
Chen Jun 提交于 2013-06-14 19:44 . remove for view area refresh
// DBGHelperView.h : interface of the CDBGHelperView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DBGHELPERVIEW_H__6445EAD1_B3BE_4F9E_9C4F_66A85DFC861B__INCLUDED_)
#define AFX_DBGHELPERVIEW_H__6445EAD1_B3BE_4F9E_9C4F_66A85DFC861B__INCLUDED_
#include "Serial.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDBGHelperView : public CEditView
{
protected: // create from serialization only
CDBGHelperView();
DECLARE_DYNCREATE(CDBGHelperView)
// Attributes
public:
CDBGHelperDoc* GetDocument();
CSerial m_hDevice;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDBGHelperView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL Open();
CFont* m_pFont;
static DWORD WINAPI ReceiveThread(LPVOID pParam);
virtual ~CDBGHelperView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDBGHelperView)
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnEditPaste();
afx_msg void OnClearView();
afx_msg void OnOk();
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnViewSetFont();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DBGHelperView.cpp
inline CDBGHelperDoc* CDBGHelperView::GetDocument()
{ return (CDBGHelperDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DBGHELPERVIEW_H__6445EAD1_B3BE_4F9E_9C4F_66A85DFC861B__INCLUDED_)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化