clientdlg.h

来自「电脑编程技巧和源码。很不错的。」· C头文件 代码 · 共 58 行

H
58
字号
// clientDlg.h : header file
//

#if !defined(AFX_CLIENTDLG_H__DEAC716A_C931_11D3_8F9D_004005654D1E__INCLUDED_)
#define AFX_CLIENTDLG_H__DEAC716A_C931_11D3_8F9D_004005654D1E__INCLUDED_

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

#include "clientsocket.h"

/////////////////////////////////////////////////////////////////////////////
// CClientDlg dialog

class CClientDlg : public CDialog
{
protected:
    CClientSocket m_socketClient;

// Construction
public:
	CClientDlg(CWnd* pParent = NULL);	// standard constructor

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

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CClientDlg)
	virtual BOOL OnInitDialog();
    afx_msg LRESULT OnConnected(WPARAM wParam,LPARAM lParam);
    afx_msg LRESULT OnClosed(WPARAM wParam,LPARAM lParam);
    afx_msg LRESULT OnFileSent(WPARAM wParam,LPARAM lParam);
	afx_msg void OnConnect();
	afx_msg void OnClose();
	afx_msg void OnSend();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CLIENTDLG_H__DEAC716A_C931_11D3_8F9D_004005654D1E__INCLUDED_)

⌨️ 快捷键说明

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