?? dlg2.h
字號:
#if !defined(AFX_DLG2_H__B43DFA4E_F8AF_4993_8C63_62516AEBC2DB__INCLUDED_)
#define AFX_DLG2_H__B43DFA4E_F8AF_4993_8C63_62516AEBC2DB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlg2.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlg2 dialog
#include "DataFrame.h"
#include "ChatSocket.h"
#define BUFFER_SIZE 200
class CChatSocket;
class CDlg2 : public CDialog
{
protected:
CDataFrame m_df;
CChatSocket* m_pSocket;
CStatusBar *pStatus;
// Construction
public:
void SendData(CString strMsg);
void ReadData();
CDlg2(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlg2)
enum { IDD = IDD_DIALOG2 };
CListBox m_listMsg;
CString m_strMsg;
CString m_strName;
CString m_strServer;
int m_Port;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlg2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlg2)
afx_msg void OnDestroy();
afx_msg void OnSend();
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnButton2();
afx_msg void OnButton3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG2_H__B43DFA4E_F8AF_4993_8C63_62516AEBC2DB__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -