ipc_msgclientdlg.h

来自「EVC编写的WINCE下进程通讯程序客户端」· C头文件 代码 · 共 59 行

H
59
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?