📄 毕业设计view.h
字号:
// 毕业设计View.h : interface of the CMyView class
//
/////////////////////////////////////////////////////////////////////////////
#include "BmpDat.h"
#include "Control.h"
#include "TextToolDlg.h"
#if !defined(AFX_VIEW_H__D6E11B11_55A3_4701_ABB0_AAE95F38FDC6__INCLUDED_)
#define AFX_VIEW_H__D6E11B11_55A3_4701_ABB0_AAE95F38FDC6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMyView : public CFormView
{
protected: // create from serialization only
CMyView();
DECLARE_DYNCREATE(CMyView)
public:
//{{AFX_DATA(CMyView)
enum{ IDD = IDD_MY_FORM };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CMyDoc* GetDocument();
// Operations
public:
CTextToolDlg texttool;
CControl con[10];
CBmpDat *bmp;
int contyp;
int saved;
int cnum;
BOOL lbd;
BOOL rbd;
int tx[20],ty[20];
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMyView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMyView)
afx_msg void OnFileNew();
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
afx_msg void OnPaint();
afx_msg void OnMby();
afx_msg void OnMfd();
afx_msg void OnMlb();
afx_msg void OnMmh();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMlu();
afx_msg void OnMld();
afx_msg void OnMenuitem32778();
afx_msg void OnMenuitem32779();
afx_msg void OnMenuitem32780();
afx_msg void OnMenuitem32781();
afx_msg void OnMenuitem32782();
afx_msg void OnMenuitem32783();
afx_msg void OnMenuitem32784();
afx_msg void OnMenuitem32785();
afx_msg void OnMenuitem32786();
afx_msg void OnMenuitem32787();
afx_msg void OnMenuitem32788();
afx_msg void OnMenuitem32771();
afx_msg void OnMenuitem32790();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 毕业设计View.cpp
inline CMyDoc* CMyView::GetDocument()
{ return (CMyDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIEW_H__D6E11B11_55A3_4701_ABB0_AAE95F38FDC6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -