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

📄 ipc_msgclientdlg.h

📁 EVC编写的WINCE下进程通讯程序客户端
💻 H
字号:
// IPC_MSGClientDlg.h : header file
//

#if !defined(AFX_IPC_MSGCLIENTDLG_H__88A82C78_CC51_4537_BA66_B032982AC11F__INCLUDED_)
#define AFX_IPC_MSGCLIENTDLG_H__88A82C78_CC51_4537_BA66_B032982AC11F__INCLUDED_

#include "IPCClient.h"	// Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CIPC_MSGClientDlg dialog

class CIPC_MSGClientDlg : public CDialog
{
// Construction
public:
	CIPC_MSGClientDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CIPC_MSGClientDlg)
	enum { IDD = IDD_IPC_MSGCLIENT_DIALOG };
	CString	m_SessionName;
	CString	m_SendData;
	CString	m_RecvData;
	CString	m_Status;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CIPC_MSGClientDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnconnect();
	afx_msg void OnBtndisconnect();
	afx_msg void OnBtnsenddata();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	static void CALLBACK OnClientDataArrive(CWnd * parentWnd, LPVOID pData, DWORD bufLen);
	static void CALLBACK OnClientDisConnected(CWnd * parentWnd, HWND hWnd);
	static void CALLBACK OnClientConnected(CWnd * parent, HWND hWnd);
	CIPCClient m_IPCClient;
};

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

#endif // !defined(AFX_IPC_MSGCLIENTDLG_H__88A82C78_CC51_4537_BA66_B032982AC11F__INCLUDED_)

⌨️ 快捷键说明

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