📄 screenview.h
字号:
#if !defined(AFX_SCREENVIEW_H__E70F0B09_91FB_4266_92A3_AAEC40261AA9__INCLUDED_)
#define AFX_SCREENVIEW_H__E70F0B09_91FB_4266_92A3_AAEC40261AA9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScreenView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CScreenView view
#include "peersocket.h"
#include "command.h"
class CScreenView : public CView
{
protected:
CScreenView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CScreenView)
// Attributes
public:
BOOL ifstart;
char *src,*des;
SOCKET s;
COMMAND com;
SOCKET s1;
COMMAND com1;
SCREEN screen;
KEYMOUSE keymouse;
DWORD retLen;
WSAEVENT hEvent;
DWORD retLen1;
WSAEVENT hEvent1;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScreenView)
public:
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CScreenView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CScreenView)
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnMButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCREENVIEW_H__E70F0B09_91FB_4266_92A3_AAEC40261AA9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -