msgmgrwnd.h
上传用户:zslianheng
上传日期:2013-04-03
资源大小:946k
文件大小:3k
源码类别:

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *   This program is free software; you can redistribute it and/or modify  *
  4.  *   it under the terms of the GNU General Public License as published by  *
  5.  *   the Free Software Foundation; either version 2 of the License, or     *
  6.  *   (at your option) any later version.                                   *
  7.  *                                                                         *
  8.  *   copyright            : (C) 2002 by Zhang Yong                         *
  9.  *   email                : z-yong163@163.com                              *
  10.  ***************************************************************************/
  11. #if !defined(AFX_MSGMGRWND_H__C7051E17_AE0E_404F_AACB_0CFE47F10138__INCLUDED_)
  12. #define AFX_MSGMGRWND_H__C7051E17_AE0E_404F_AACB_0CFE47F10138__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // MsgMgrWnd.h : header file
  17. //
  18. #include "icqdb.h"
  19. class CMsgTreeView;
  20. class CMsgListView;
  21. class CMsgView;
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CMsgMgrWnd frame
  24. class CMsgMgrWnd : public CFrameWnd, public DBSerialize
  25. {
  26. public:
  27. CMsgMgrWnd();
  28. // Attributes
  29. public:
  30. // Operations
  31. public:
  32. void ActivateFrame(DWORD uin = 0, int nCmdShow = -1);
  33. virtual void save(DBOutStream &out);
  34. virtual void load(DBInStream &in);
  35. private:
  36. CToolBar toolBar;
  37. CSplitterWnd splitter, splitterRight;
  38. CMsgTreeView *treeView;
  39. CMsgListView *listView;
  40. CMsgView *msgView;
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(CMsgMgrWnd)
  44. protected:
  45. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. virtual ~CMsgMgrWnd();
  50. // Generated message map functions
  51. //{{AFX_MSG(CMsgMgrWnd)
  52. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  53. afx_msg void OnEditDel();
  54. afx_msg void OnFileExit();
  55. afx_msg void OnExportTxt();
  56. afx_msg void OnViewBgcolor();
  57. afx_msg void OnViewFont();
  58. afx_msg void OnUpdateExportContact(CCmdUI* pCmdUI);
  59. afx_msg void OnExportContact();
  60. afx_msg void OnUpdateEditDel(CCmdUI* pCmdUI);
  61. afx_msg void OnUpdateViewFont(CCmdUI* pCmdUI);
  62. afx_msg void OnUpdateExportBak(CCmdUI* pCmdUI);
  63. afx_msg void OnDestroy();
  64. afx_msg void OnEditSearch();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. };
  68. /////////////////////////////////////////////////////////////////////////////
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_MSGMGRWND_H__C7051E17_AE0E_404F_AACB_0CFE47F10138__INCLUDED_)