FriendDetail.h
上传用户:guangzhiyw
上传日期:2007-01-09
资源大小:495k
文件大小:2k
源码类别:

ICQ/即时通讯

开发平台:

Visual C++

  1. #if !defined(AFX_FRIENDDETAIL_H__2825ACF3_540E_11D5_B142_B8DDF6DFE200__INCLUDED_)
  2. #define AFX_FRIENDDETAIL_H__2825ACF3_540E_11D5_B142_B8DDF6DFE200__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // FriendDetail.h : header file
  7. //
  8. #include "client.h"
  9. #include "bmpcombox.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CFriendDetailDlg dialog
  12. class CFriendDetailDlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16. void SetOwnerWnd(CWnd* pwnd){pWnd=pwnd;};
  17. CFriendDetailDlg(CWnd* pParent = NULL);   // standard constructor
  18. CClientApp* GetApp(){return (CClientApp*)AfxGetApp();};
  19. // Dialog Data
  20. //{{AFX_DATA(CFriendDetailDlg)
  21. enum { IDD = IDD_FRIEND_DETAIL };
  22. CComboBox m_ComboSex;
  23. CBmpComBox m_ComboFace;
  24. CString m_strAddress;
  25. CString m_strAge;
  26. CString m_strDepartment;
  27. CString m_strDescription;
  28. CString m_strEmail;
  29. CString m_strFax;
  30. CString m_strHomepage;
  31. CString m_strID;
  32. CString m_strName;
  33. CString m_strPhone;
  34. int m_canbeadd;
  35. //}}AFX_DATA
  36. UserInfo* pInfo;
  37. HICON hIcon;
  38. CWnd* pWnd;
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CFriendDetailDlg)
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. // Generated message map functions
  47. //{{AFX_MSG(CFriendDetailDlg)
  48. public:
  49. afx_msg void OnRefresh();
  50. protected:
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnTimer(UINT nIDEvent);
  53. virtual void OnCancel();
  54. afx_msg void OnClose();
  55. //}}AFX_MSG
  56. afx_msg LRESULT OnShowFriendDetail(WPARAM wParam,LPARAM lParam);
  57. afx_msg LRESULT OnRecvFriendDetail(WPARAM wParam,LPARAM lParam);
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_FRIENDDETAIL_H__2825ACF3_540E_11D5_B142_B8DDF6DFE200__INCLUDED_)