📄 mywcdlg.h
字号:
// MyWcDlg.h : header file
//
#if !defined(AFX_MYWCDLG_H__66D38267_3822_11D7_829B_9E6478685947__INCLUDED_)
#define AFX_MYWCDLG_H__66D38267_3822_11D7_829B_9E6478685947__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyWcDlg dialog
#include "WCSock.h"
class CMyWcDlg : public CDialog
{
// Construction
public:
CMyWcDlg(CWnd* pParent = NULL); // standard constructor
CWCSock sockClient;
_DATA m_Dat;
LRESULT OnReceive(WPARAM wparam,LPARAM lParam);
// Dialog Data
//{{AFX_DATA(CMyWcDlg)
enum { IDD = IDD_MYWC_DIALOG };
CListBox m_ctlSent;
CListBox m_ctlRecvd;
int m_nPort;
CString m_server_name;
CString m_client_name;
CString m_send_info;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyWcDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyWcDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnConnect();
afx_msg void OnClose();
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_MYWCDLG_H__66D38267_3822_11D7_829B_9E6478685947__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -