wbqqclientdlg.h
来自「基于TCP的局域网多用户通信、文件传送程序详解」· C头文件 代码 · 共 64 行
H
64 行
// wbQQClientDlg.h : header file
//
#if !defined(AFX_WBQQCLIENTDLG_H__B365C42A_643D_4E87_9CFB_0E979FB0EBA2__INCLUDED_)
#define AFX_WBQQCLIENTDLG_H__B365C42A_643D_4E87_9CFB_0E979FB0EBA2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CWbQQClientDlg dialog
class CWbQQClientDlg : public CDialog
{
// Construction
public:
BOOL Load();
BOOL InitNet();
UINT res;
CWbQQClientDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWbQQClientDlg)
enum { IDD = IDD_WBQQCLIENT_DIALOG };
CString m_strUserName;
CString m_strPassWd;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWbQQClientDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int numrcv;
int numsnt;
int status;
unsigned long destAddr;
SOCKET destSocket;
SOCKADDR_IN destSockAddr;
WSADATA Data;
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CWbQQClientDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBtnReg();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WBQQCLIENTDLG_H__B365C42A_643D_4E87_9CFB_0E979FB0EBA2__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?