MainView.h
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:2k
源码类别:

IP电话/视频会议

开发平台:

Visual C++

  1. #if !defined(AFX_MAINVIEW_H__F1A7A021_661C_4EE9_B7AF_70BD699C2329__INCLUDED_)
  2. #define AFX_MAINVIEW_H__F1A7A021_661C_4EE9_B7AF_70BD699C2329__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MainView.h : header file
  7. //
  8. #include "TabWnd.h"
  9. #include "SplitterWndEx.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CMainView view
  12. class CMainView : public CView
  13. {
  14. DECLARE_DYNCREATE( CMainView )
  15. public:
  16.          CMainView();   
  17.     virtual ~CMainView();
  18. void     SetModulePackage( int module , char * buffer , int size );
  19. CWnd *   GetTabWnd( int index );
  20. protected:
  21. static void OnChat( void * pContext , CWnd * pWnd , char * buffer , int size );
  22. static void OnWB( void * pContext , CWnd * pWnd , char * buffer , int size );
  23. static void OnIEURL( void * pContext , CWnd * pWnd , char * buffer , int size );
  24. static void OnFile( void * pContext , CWnd * pWnd , char * buffer , int size );
  25. static bool OnShare( void * pContext , CWnd * pWnd , char * buffer , int size );
  26. //{{AFX_VIRTUAL(CMainView)
  27. virtual void OnDraw(CDC* pDC){ }
  28. //}}AFX_VIRTUAL
  29. //{{AFX_MSG(CMainView)
  30. afx_msg void OnSize(UINT nType, int cx, int cy);
  31. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  32. afx_msg void OnDestroy();
  33. //}}AFX_MSG
  34. DECLARE_MESSAGE_MAP()
  35. private:
  36.     CSplitterWndEx m_wndSplitter;
  37. CTabWnd      m_tab;
  38. CWnd       * chatWnd;
  39. CWnd       * wbWnd;
  40. CWnd       * ieWnd;
  41. CWnd       * fileWnd;
  42. CWnd       * shareWnd;
  43. };
  44. /////////////////////////////////////////////////////////////////////////////
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_MAINVIEW_H__F1A7A021_661C_4EE9_B7AF_70BD699C2329__INCLUDED_)