MainFrame.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:2k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- #if !defined(AFX_MAINFRAME_H__05AB6840_1AB3_40AA_A6B8_4D9514A915D0__INCLUDED_)
- #define AFX_MAINFRAME_H__05AB6840_1AB3_40AA_A6B8_4D9514A915D0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MainFrame.h : header file
- //
- #include "DriverBar.h"
- #include "FileView.h"
- #include "SplitterWndEx.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMainFrame frame
- class CMainFrame : public CFrameWnd
- {
- public:
- CMainFrame();
- virtual ~CMainFrame();
- void ( * OnFile )( void * pContext , CWnd * pWnd , char * buffer , int size );
- void * pContext;
- CString userName;
- int user_id;
- CFileView * GetView( int mode );
- protected:
- virtual BOOL OnCreateClient( LPCREATESTRUCT lpcs , CCreateContext* pContext );
- //{{AFX_VIRTUAL(CMainFrame)
- //}}AFX_VIRTUAL
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDriver();
- afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
- afx_msg void OnMenuTree();
- afx_msg void OnDblclkTree(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSendDelete();
- afx_msg void OnUpdateSendDelete(CCmdUI* pCmdUI);
- afx_msg void OnSendSend();
- afx_msg void OnUpdateSendSend(CCmdUI* pCmdUI);
- afx_msg void OnSendCancel();
- afx_msg void OnUpdateSendCancel(CCmdUI* pCmdUI);
- afx_msg void OnSendView();
- afx_msg void OnReceiveDelete();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CReBar reBar;
- CToolBar toolBar;
- CDriverBar driver_bar;
- CSplitterWndEx m_wndSplitter;
- CFileView * sendView;
- CFileView * recvView;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRAME_H__05AB6840_1AB3_40AA_A6B8_4D9514A915D0__INCLUDED_)