📄 demoview.h
字号:
// DEMOView.h : interface of the CDEMOView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEMOVIEW_H__C1FD1A8E_D627_4881_9CD2_FB3DF5CDD1DE__INCLUDED_)
#define AFX_DEMOVIEW_H__C1FD1A8E_D627_4881_9CD2_FB3DF5CDD1DE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDEMOView : public CFormView
{
protected: // create from serialization only
CDEMOView();
DECLARE_DYNCREATE(CDEMOView)
public:
//{{AFX_DATA(CDEMOView)
enum { IDD = IDD_DEMO_FORM };
BOOL m_addpn0;
BOOL m_addpn1;
BOOL m_addpn2;
BOOL m_addpn3;
BOOL m_addnoise;
BOOL m_xor;
//}}AFX_DATA
// Attributes
public:
CDEMODoc* GetDocument();
unsigned char Noise[64];
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDEMOView)
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);
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDEMOView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDEMOView)
afx_msg void OnPn0left();
afx_msg void OnPn0right();
afx_msg void OnPn1left();
afx_msg void OnPn1right();
afx_msg void OnPn2left();
afx_msg void OnPn2right();
afx_msg void OnPn3left();
afx_msg void OnPn3right();
afx_msg void OnNewnoise();
afx_msg void OnAddpn0();
afx_msg void OnAddpn1();
afx_msg void OnAddpn2();
afx_msg void OnAddpn3();
afx_msg void OnNoise();
afx_msg void OnOrxor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DEMOView.cpp
inline CDEMODoc* CDEMOView::GetDocument()
{ return (CDEMODoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMOVIEW_H__C1FD1A8E_D627_4881_9CD2_FB3DF5CDD1DE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -