?? tcpdlg.h
字號:
#if !defined(AFX_TCPDLG_H__782BFEFF_C4B0_437F_B905_E97BC83454DA__INCLUDED_)
#define AFX_TCPDLG_H__782BFEFF_C4B0_437F_B905_E97BC83454DA__INCLUDED_
#define ACCEPT_EVENT WM_USER+104 //自定義消息
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TCPdlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTCPdlg dialog
class CTCPdlg : public CDialog
{
// Construction
public:
CString GetIP();
CSocket m_tcpsock;
CSocket SocketListen;
BOOL m_bStarting;
BOOL m_bConnected;
CTCPdlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTCPdlg)
enum { IDD = IDD_TCPDLG };
CListBox m_list;
CString m_ip;
UINT m_port;
CString m_sendmsg;
CString m_state;
int m_WorkType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTCPdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
afx_msg void OnEvent(WPARAM wParam,LPARAM lParam);
// Generated message map functions
//{{AFX_MSG(CTCPdlg)
afx_msg void OnStartServer();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnCloseServer();
afx_msg void OnSend();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TCPDLG_H__782BFEFF_C4B0_437F_B905_E97BC83454DA__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -