RemoteDesktopDlg.h
上传用户:cjw5120
上传日期:2022-05-11
资源大小:5032k
文件大小:2k
源码类别:

网络截获/分析

开发平台:

Visual C++

  1. #if !defined(AFX_REMOTEDESKTOPDLG_H__1E8BC826_64A0_4458_BF6E_FE230616186D__INCLUDED_)
  2. #define AFX_REMOTEDESKTOPDLG_H__1E8BC826_64A0_4458_BF6E_FE230616186D__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RemoteDesktopDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CRemoteDesktopDlg dialog
  10. /*
  11.  作者:海啸 lyyer English Name: Jack 
  12.   blog:http://lyyer.blog.sohu.com
  13.   website:http://www.cnGSG.com
  14.   海啸网络安全组织
  15. */
  16. #include "Jpegfile.h"
  17. //#include "comm.h"
  18. #include "FullScreenTitleBar.h"
  19. class CRemoteDesktopDlg : public CDialog
  20. {
  21. // Construction
  22. public:
  23. void SetFullScreen(BOOL OnOff);
  24. BOOL OnInitDialog();
  25. SOCKET ClientSocket;
  26. CRemoteDesktopDlg(CWnd* pParent = NULL);   // standard constructor
  27. CTitleBar *TitleBar;
  28. JpegFile m_Jpeg;
  29. HDC  m_hMemDC;
  30. CRect       m_rcArea;
  31. HGLOBAL m_lpBmpData;
  32. BYTE        *m_lpImageData;
  33. DWORD m_dwBmpSize;
  34. DWORD     m_dwBmpInfoSize;
  35. int         m_nBmpTop, m_nBmpLeft;
  36.     int m_nBmpWidth, m_nBmpHeight;
  37. int         m_nTop, m_nLeft;
  38. //int         m_nWidth, m_nHeight;
  39. int         m_nbottom, m_nRight;
  40. // Dialog Data
  41. //{{AFX_DATA(CRemoteDesktopDlg)
  42. enum { IDD = IDD_DIALOG_REMOTEDESKTOP };
  43. CStatic m_picStatArea;
  44. BOOL m_bChkContinue;
  45. //}}AFX_DATA
  46. // Overrides
  47. // ClassWizard generated virtual function overrides
  48. //{{AFX_VIRTUAL(CRemoteDesktopDlg)
  49. public:
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55.     BOOL IsFullScreen;
  56. // Generated message map functions
  57. //{{AFX_MSG(CRemoteDesktopDlg)
  58. afx_msg void OnCheckCap();
  59. afx_msg void OnButtonScreen();
  60. afx_msg void OnButtonFullscr();
  61. afx_msg void OnMenuitemClose();
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. //ON_MESSAGE(IDC_GET_SCREEN, Get_Screen_Data)
  65. //END_MESSAGE_MAP()
  66. };
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  69. #endif // !defined(AFX_REMOTEDESKTOPDLG_H__1E8BC826_64A0_4458_BF6E_FE230616186D__INCLUDED_)