⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dlggetpos.h

📁 简单的远程控制工具,分为服务器与客户斋,让你了解socket编程的知识.
💻 H
字号:
#if !defined(AFX_DLGGETPOS_H__7304A041_28BD_11D4_9F83_D280DE29C03D__INCLUDED_)
#define AFX_DLGGETPOS_H__7304A041_28BD_11D4_9F83_D280DE29C03D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgGetPos.h : header file
//
#include "WzdThread.H"
#include "Ctrl_Clnt9Doc.h"
#include "DlgFullScreen.h"
#include "GetImage.H"
#include "huffman.H"
#include "..\\Ctrlsrvr2\\SendKey.H"
#include "..\\CtrlSrvr2\\jpegfile.H"
/////////////////////////////////////////////////////////////////////////////
// CDlgGetPos dialog

class CDlgGetPos : public CDialog
{
// Attributes
public:
 
	JpegFile m_Jpeg;
	CCtrl_Clnt9Doc*		m_pDoc;
    CWzdThread * m_pWzdThread;
	HDC				m_hMemDC;
    CHuffman        m_huf;
	int				m_nBits;
	HGLOBAL			m_lpBmpData;
	BYTE    *m_lpImageData;
	bool    m_bImageLocked;
	DWORD			m_dwBmpSize;
	DWORD			m_dwBmpInfoSize;
	int          m_nBmpTop, m_nBmpLeft;
	int				m_nBmpWidth, m_nBmpHeight;
//	int				m_nRmtWidth, m_nRmtHeight, m_nRmtColors;

	BOOL			m_bIsCapturing;
	double			m_dFactor;
	CPoint			m_ptStart;
	CPoint			m_ptEnd;
    int m_nRdoCut ;
	unsigned long m_lFrame;

	CPoint			m_ptBmpDraw, m_ptMouse;

	CDlgFullScreen*		m_pDlgFullScreen;

// Operations
public:
//	void Get_Screen_Data (HGLOBAL lpBmpData, DWORD m_dwBmpInfoSize);
//	void Get_Screen_Data (LPVOID lpBmpData, DWORD m_dwBmpInfoSize);
	void Get_Screen_Data (LPVOID lpBmpData, PSENDMSG lpMsg);
	void Set_BackGroud_Image (void);
	void Move_Image (int xMove, int yMove);


// Construction
public:
	void fnSendPos(UINT wCmd, DWORD dwFlags, CPoint point);
	CDlgGetPos(CWnd* pParent = NULL);   // standard constructor
	Create (CCtrl_Clnt9Doc* pDoc);		// Get the document point

// Dialog Data
	//{{AFX_DATA(CDlgGetPos)
	enum { IDD = IDD_DIALOG_GETSCREEN };
	CSliderCtrl	m_SliderQ;
	CScrollBar	m_hScrollBar;
	CScrollBar	m_vScrollBar;
	CStatic	m_oStaArea;
	CComboBox	m_oCboColors;
	CComboBox	m_oCboArea;
	CComboBox	m_oCboCompress;
	int		m_nEdtSecond;
	long	m_lError;
	BOOL	m_bChkContinue;
	BOOL	m_bChkControl;
	BOOL	m_bFullScreen;
	BOOL	m_CTRL;
	BOOL	m_SHIFT;
	BOOL	m_WIN;
	BOOL	m_ALT;
	CString	m_sNote;
	int		m_nWidth;
	int		m_nTop;
	int		m_nHeight;
	int		m_nLeft;
	int		m_nCellSize;
	BOOL	m_bLock;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgGetPos)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgGetPos)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnDeltaposSpinSecond(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonFullscreen();
	afx_msg void OnCheckContinue();
	afx_msg void OnRadioCut();
	afx_msg void OnRadioImage();
	afx_msg void OnChangeEditSecond();
	afx_msg void OnCheckControl();
	afx_msg void OnChangeEditCellsize();
	afx_msg void OnButtonSend();
	afx_msg void OnCheckWin();
	afx_msg void OnCheckCtrl();
	afx_msg void OnCheckAlt();
	afx_msg void OnCheckShift();
	afx_msg void OnButtonCad();
	afx_msg void OnSelendokComboColors();
	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnSelendokComboArea();
	afx_msg void OnSelendokComboCompress();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnCheckLock();
	afx_msg void OnReleasedcaptureQuality(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonReconnect();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGGETPOS_H__7304A041_28BD_11D4_9F83_D280DE29C03D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -