📄 session.h
字号:
#if !defined(AFX_SESSION_H__862EA9DB_2FA8_4D17_881D_CA2D5DD36C06__INCLUDED_)
#define AFX_SESSION_H__862EA9DB_2FA8_4D17_881D_CA2D5DD36C06__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Session.h : header file
//
#include "Resource.h"
#include <afxtempl.h>
#include "User.h"
/////////////////////////////////////////////////////////////////////////////
// CSession dialog
class CSession : public CDialog
{
// Construction
public:
CSession(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSession)
enum { IDD = IDD_MEETING_DIALOG };
CComboBox m_meeting_comboBox;
CListBox m_meeting_list;
CString m_session_write;
CString m_session_read;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSession)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSession)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeSessionCombo();
afx_msg void OnClose();
afx_msg void OnSessionSend();
afx_msg void OnSessionCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
int m_sessionId;
public:
void readMessage(CString msg);
int getSessionID() const;
CArray <CUser,CUser&> m_contactors;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SESSION_H__862EA9DB_2FA8_4D17_881D_CA2D5DD36C06__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -