⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.h

📁 一个简单的视频会议VC++MFC工程文件
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__E26EE0D9_7EFE_416F_A07A_F976C3FF53BC__INCLUDED_)
#define AFX_MAINFRM_H__E26EE0D9_7EFE_416F_A07A_F976C3FF53BC__INCLUDED_
#include "MCUEndPoint.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CRoomListView;
class CMemberListView;
class COutputView;

class CMainFrame : public CFrameWnd
{
	
public:
	CMainFrame();
	CMCUEndPoint* m_pep;
protected: 
	DECLARE_DYNAMIC(CMainFrame)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
public:
	void Output(UINT nID, ...);
	void Output(LPCTSTR str,...);
	void RefreshMemberList();
	BOOL InitEndPoint();
	COutputView* GetOutputView();
	CListCtrl& GetMemberListCtrl();
	CListCtrl& GetRoomListCtrl();
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	BOOL     m_autoSaveLog;
	CSplitterWnd m_splitter1;
	CSplitterWnd m_splitter2;
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;

// Generated message map functions
protected:
	
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSetFocus(CWnd *pOldWnd);
	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
	afx_msg void OnClose();
	afx_msg void OnCall();
	afx_msg void OnHangup();
	afx_msg void OnUpdateHangup(CCmdUI* pCmdUI);
	afx_msg void OnLogin();
	afx_msg void OnUpdateLogin(CCmdUI* pCmdUI);
	afx_msg void OnLogout();
	afx_msg void OnUpdateLogout(CCmdUI* pCmdUI);
	afx_msg void OnAudio();
	afx_msg void OnVideo();
	afx_msg void OnNetwork();
	afx_msg void OnGatekeeper();
	afx_msg void OnUpdateMemberDetail(CCmdUI* pCmdUI);
	afx_msg void OnMemberDetail();
	afx_msg void OnAutoSaveLog();
	afx_msg void OnUpdateAutoSaveLog(CCmdUI* pCmdUI);
	afx_msg void OnSaveLog();
	afx_msg void OnSendAnnouncement();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__E26EE0D9_7EFE_416F_A07A_F976C3FF53BC__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -