keyboardview.h
来自「一个EVC4.0下面的实现捕捉按键的程序」· C头文件 代码 · 共 75 行
H
75 行
// keyboardView.h : interface of the CKeyboardView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_KEYBOARDVIEW_H__A0E2D581_D35B_4381_942B_4F606BA04A4E__INCLUDED_)
#define AFX_KEYBOARDVIEW_H__A0E2D581_D35B_4381_942B_4F606BA04A4E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CKeyboardView : public CFormView
{
protected: // create from serialization only
CKeyboardView();
DECLARE_DYNCREATE(CKeyboardView)
public:
//{{AFX_DATA(CKeyboardView)
enum { IDD = IDD_KEYBOARD_FORM };
CEdit m_edit2;
CButton m_button3;
CButton m_button2;
CButton m_button1;
CEdit m_edit1;
//}}AFX_DATA
// Attributes
public:
CKeyboardDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CKeyboardView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CKeyboardView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CKeyboardView)
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in keyboardView.cpp
inline CKeyboardDoc* CKeyboardView::GetDocument()
{ return (CKeyboardDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_KEYBOARDVIEW_H__A0E2D581_D35B_4381_942B_4F606BA04A4E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?