📄 lientchatdlg.h
字号:
#if !defined(AFX_LIENTCHATDLG_H__F159A8E7_200F_4272_8F43_66C74DEA93DC__INCLUDED_)
#define AFX_LIENTCHATDLG_H__F159A8E7_200F_4272_8F43_66C74DEA93DC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// lientChatDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// ClientChatDlg dialog
class ClientChatDlg : public CDialog //子对话类
{
// Construction
public:
ClientChatDlg(CWnd* pParent = NULL); // standard constructor
static UINT SendData1Thread(LPVOID lpParam);//发送消息线程
static UINT SendData2Thread(LPVOID lpParam);//发送文件线程
char m_szBuffer[1024];//消息接收缓冲区
// Dialog Data
//{{AFX_DATA(ClientChatDlg)
enum { IDD = IDD_CLIENTCHAT_DIALOG };
CListBox m_MSGS;//信息栏
CEdit m_MSG;//信息编辑框变量
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(ClientChatDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(ClientChatDlg)
afx_msg void OnCloseButton();
afx_msg void OnSend1Button();
afx_msg void OnSend2Button();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
struct FILEINFO
{
int fileLength;
char fileName[100];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LIENTCHATDLG_H__F159A8E7_200F_4272_8F43_66C74DEA93DC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -