?? dllusertestdlg.h
字號:
// DllUserTestDlg.h : header file
//
#if !defined(AFX_DLLUSERTESTDLG_H__8351B675_3B70_4615_A72E_5BB07F50ECBD__INCLUDED_)
#define AFX_DLLUSERTESTDLG_H__8351B675_3B70_4615_A72E_5BB07F50ECBD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDllUserTestDlg dialog
const UINT PORT=5600;
const char IP[]="172.18.18.207";
const int BUFFER_SIZE=4096;
const UINT WM_NEW_MESSAGE=WM_USER+1;
#include "NetModuleInterface.h"
class CDllUserTestDlg : public CDialog
{
// Construction
public:
void ReadData();
CDllUserTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDllUserTestDlg)
enum { IDD = IDD_DLLUSERTEST_DIALOG };
CString m_your_ip;
UINT m_your_port;
UINT m_my_port;
CString m_my_ip;
int m_send_times;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDllUserTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDllUserTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnStartButton();
afx_msg void OnSendButton();
afx_msg void OnClose();
//}}AFX_MSG
afx_msg LRESULT OnSocketMessage(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
private:
CNetModuleInterface Interface;
private:
void AddMessageToMessageBar(CString strMessage);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLLUSERTESTDLG_H__8351B675_3B70_4615_A72E_5BB07F50ECBD__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -