?? soketdlg.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 + -