📄 test2view.h
字号:
// test2View.h : interface of the CTest2View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TEST2VIEW_H__48D3BEE7_FDAF_4938_B5EF_BAD3D7375286__INCLUDED_)
#define AFX_TEST2VIEW_H__48D3BEE7_FDAF_4938_B5EF_BAD3D7375286__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ModelessDlg.h"
#include "StatusDlg.h"
#include "Dlg.h"
class CTest2View : public CView
{
protected: // create from serialization only
CTest2View();
DECLARE_DYNCREATE(CTest2View)
// Attributes
public:
CTest2Doc* GetDocument();
// Operations
public:
CModelessDlg* m_dlg ;
CStatusDlg* dlg;
CDlg* m_dlg2;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTest2View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void OnProperties();
virtual ~CTest2View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
afx_msg void OnTestMes(UINT wParam ,LONG lParam);
afx_msg void OnContextMenu(CWnd*, CPoint point);
//{{AFX_MSG(CTest2View)
afx_msg void OnUpdateTest(CCmdUI* pCmdUI);
afx_msg void OnTest();
afx_msg void OnEditTest();
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnHaha();
afx_msg void OnRectangle();
afx_msg void OnThreed();
afx_msg void OnTriangle();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnModelless();
afx_msg void OnPropertyset();
afx_msg void OnCircle();
afx_msg void OnButton1();
afx_msg void OnCompute();
afx_msg void OnSplitterwnd();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in test2View.cpp
inline CTest2Doc* CTest2View::GetDocument()
{ return (CTest2Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEST2VIEW_H__48D3BEE7_FDAF_4938_B5EF_BAD3D7375286__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -