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

📄 mouse_server_2dlg.h

📁 鼠标操作,自动鼠标点击VC源码.鼠标操作,自动鼠标点击VC源码.
💻 H
字号:
// mouse_server_2Dlg.h : header file
//

#if !defined(AFX_MOUSE_SERVER_2DLG_H__DEB428D2_4905_11D4_99AF_5254AB14FF0C__INCLUDED_)
#define AFX_MOUSE_SERVER_2DLG_H__DEB428D2_4905_11D4_99AF_5254AB14FF0C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <vector>
#include "../mousedll/MouseHook.h"

using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CMouse_server_2Dlg dialog
class CAboutDlg : public CDialog
{
public:
	CAboutDlg();

// Dialog Data
	//{{AFX_DATA(CAboutDlg)
	enum { IDD = IDD_ABOUTBOX };
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAboutDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	//{{AFX_MSG(CAboutDlg)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
class CMouse_server_2Dlg : public CDialog
{
// Construction
public:
	CMouse_server_2Dlg(CWnd* pParent = NULL);	// standard constructor




	static UINT SendMouseClick(LPVOID pParam);
	static HWND ms_hWndTarget;
	static HWND ms_hWndSelf;
	static int  ms_nCount;
// Dialog Data
	//{{AFX_DATA(CMouse_server_2Dlg)
	enum { IDD = IDD_MOUSE_SERVER_2_DIALOG };

	CListBox	m_procList;
	UINT	m_nInterval;
	int		m_nCount;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMouse_server_2Dlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CMenu m_menu;
	
	BOOL m_bWndShow;
	BOOL m_bRecord;
	BOOL m_bBegin;

	vector<MouseEvent> m_eventVector;
	CMouseHook	m_mousehook;
	HANDLE      m_hMapObject;
	MouseEvent *m_pMouseEvents;

	// Generated message map functions
	//{{AFX_MSG(CMouse_server_2Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnMin();
	afx_msg void OnRefleshprocess();
	afx_msg void OnRecord();
	afx_msg void OnCancel();
	afx_msg void OnBegin();
	afx_msg void OnEnd();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MOUSE_SERVER_2DLG_H__DEB428D2_4905_11D4_99AF_5254AB14FF0C__INCLUDED_)

⌨️ 快捷键说明

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