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

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_VIEWDETAILDLG_H__2F00753A_16FD_4437_8E34_1A1B9F5AEDE6__INCLUDED_)
  12. #define AFX_VIEWDETAILDLG_H__2F00753A_16FD_4437_8E34_1A1B9F5AEDE6__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // ViewDetailDlg.h : header file
  17. //
  18. #include "icqwindow.h"
  19. #include "DetailBasicDlg.h"
  20. #include "DetailCommDlg.h"
  21. #include "DetailMiscDlg.h"
  22. #include "DetailCustomDlg.h"
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CViewDetailDlg
  25. class IcqContact;
  26. class CViewDetailDlg : public CPropertySheet, public IcqWindow
  27. {
  28. DECLARE_DYNAMIC(CViewDetailDlg)
  29. // Construction
  30. public:
  31. CViewDetailDlg(uint32 uin);
  32. // Attributes
  33. public:
  34. IcqContact *contact;
  35. private:
  36. CDetailBasicDlg basicPage;
  37. CDetailCommDlg commPage;
  38. CDetailMiscDlg miscPage;
  39. CDetailCustomDlg customPage;
  40. // Operations
  41. public:
  42. void onSendError(uint32 seq);
  43. void onUpdateContactReply(IcqContact *c);
  44. void enableButtons(BOOL enable = TRUE);
  45. BOOL Create(CWnd* pParentWnd = NULL);
  46. // Overrides
  47. // ClassWizard generated virtual function overrides
  48. //{{AFX_VIRTUAL(CViewDetailDlg)
  49. protected:
  50. virtual void PostNcDestroy();
  51. //}}AFX_VIRTUAL
  52. private:
  53. void setData(IcqContact *contact);
  54. // Implementation
  55. public:
  56. virtual ~CViewDetailDlg();
  57. // Generated message map functions
  58. protected:
  59. void OnUpdate();
  60. //{{AFX_MSG(CViewDetailDlg)
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. /////////////////////////////////////////////////////////////////////////////
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_VIEWDETAILDLG_H__2F00753A_16FD_4437_8E34_1A1B9F5AEDE6__INCLUDED_)