chattingdlg.cpp
来自「合肥工业大学计算机网络课程设计 希望对大家有点提示或帮助」· C++ 代码 · 共 63 行
CPP
63 行
// 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 + =
减小字号Ctrl + -
显示快捷键?