📄 mygraphview.h
字号:
#if !defined(AFX_MYGRAPHVIEW_H__6298CFE0_2EEC_421C_899B_812D351F9CE9__INCLUDED_)
#define AFX_MYGRAPHVIEW_H__6298CFE0_2EEC_421C_899B_812D351F9CE9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyGraphView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyGraphView view
class CMyGraphView : public CView
{
protected:
CMyGraphView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CMyGraphView)
// Attributes
public:
///////////////////////////////////////////////////////////////////////////////////////////////////////
CMyEditDoc* GetDocument();
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Operations
public:
void SetText(unsigned long len);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyGraphView)
public:
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CMyGraphView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
int m_LineHeight;
unsigned long m_Rows;
long m_CharCount;
char* m_text;
//{{AFX_MSG(CMyGraphView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef _DEBUG // debug version in lwzView.cpp
inline CMyEditDoc* CMyGraphView::GetDocument()
{ return (CMyEditDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYGRAPHVIEW_H__6298CFE0_2EEC_421C_899B_812D351F9CE9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -