forked from qiutianshuchangsha/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RemoteDesktopDlg.h
52 lines (42 loc) · 1.1 KB
/
RemoteDesktopDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#pragma once
#include "Jpegfile.h"
#include "FullScreenTitleBar.h"
#include "afxwin.h"
// CRemoteDesktopDlg 对话框
class CRemoteDesktopDlg : public CDialogEx
{
DECLARE_DYNAMIC(CRemoteDesktopDlg)
public:
void SetFullScreen(BOOL OnOff);
BOOL OnInitDialog();
SOCKET ClientSocket;
CRemoteDesktopDlg(SOCKET s,CWnd* pParent = NULL); // 标准构造函数
virtual ~CRemoteDesktopDlg();
// 对话框数据
CTitleBar *TitleBar;
JpegFile m_Jpeg;
HDC m_hMemDC;
CRect m_rcArea;
HGLOBAL m_lpBmpData;
BYTE *m_lpImageData;
DWORD m_dwBmpSize;
DWORD m_dwBmpInfoSize;
int m_nBmpTop, m_nBmpLeft;
int m_nBmpWidth, m_nBmpHeight;
int m_nTop, m_nLeft;
//int m_nWidth, m_nHeight;
int m_nbottom, m_nRight;
enum { IDD = IDD_REMOTEDESKTOP };
CStatic m_picStatArea;
BOOL m_bChkContinue;
protected:
BOOL IsFullScreen;
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CStatic m_picStartArea;
afx_msg void OnClickedFullScr();
afx_msg void OnClickedScrCap();
afx_msg void OnClickedScr();
afx_msg void OnMenuitemClose();
};