📄 chattingdlg.cpp
字号:
// ChattingDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Client.h"
#include "ChattingDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
class CClientDlg;
/////////////////////////////////////////////////////////////////////////////
// CChattingDlg dialog
CChattingDlg::CChattingDlg(CWnd* pParent /*=NULL*/)
: CDialog(CChattingDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CChattingDlg)
m_sendcontent = _T("");
//}}AFX_DATA_INIT
}
void CChattingDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChattingDlg)
DDX_Control(pDX, IDC_CHATCONTENT, m_chatcontent);
DDX_Text(pDX, IDC_SENDCONTENT, m_sendcontent);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CChattingDlg, CDialog)
//{{AFX_MSG_MAP(CChattingDlg)
ON_BN_CLICKED(IDC_CLOSE, OnClose)
ON_BN_CLICKED(IDC_SEND, OnSend)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChattingDlg message handlers
void CChattingDlg::OnClose()
{
// TODO: Add your control notification handler code here
}
void CChattingDlg::OnSend()
{
// TODO: Add your control notification handler code here
}
void CChattingDlg::showmsg(CString &srcname, CMsg &msg)
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -