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

📄 soketdlg.h

📁 一各简单的WINCE平台下的聊天室内程序
💻 H
字号:
// soketDlg.h : header file
//

#if !defined(AFX_SOKETDLG_H__C3FC037A_5B48_4E26_9F41_F1846A89D6C3__INCLUDED_)
#define AFX_SOKETDLG_H__C3FC037A_5B48_4E26_9F41_F1846A89D6C3__INCLUDED_

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

#define WM_RECEIVE WM_USER+1

class propty
{
public:
	HWND wndhandle;
	SOCKET sock;
};

/////////////////////////////////////////////////////////////////////////////
// CSoketDlg dialog

class CSoketDlg : public CDialog
{
// Construction
public:
	void onreceive(WPARAM wParam,LPARAM lParam);
	bool InitSocket();
	CSoketDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSoketDlg)
	enum { IDD = IDD_SOKET_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSoketDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonSend();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	SOCKET m_socket;
	
};

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

#endif // !defined(AFX_SOKETDLG_H__C3FC037A_5B48_4E26_9F41_F1846A89D6C3__INCLUDED_)

⌨️ 快捷键说明

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