UserList.h
上传用户:seeker_wen
上传日期:2016-05-23
资源大小:2084k
文件大小:2k
源码类别:

ICQ/即时通讯

开发平台:

Visual C++

  1. #if !defined(AFX_USERLIST_H__FF00BBCD_7BC6_4FA0_8D07_608E8DA5ACB6__INCLUDED_)
  2. #define AFX_USERLIST_H__FF00BBCD_7BC6_4FA0_8D07_608E8DA5ACB6__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // UserList.h : header file
  7. //
  8. #include "usertree.h"
  9. #include "MsnEdit.h"
  10. #include <vector>
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CUserList dialog
  13. #include "UserChat.h"
  14. class CUserList : public CDialog
  15. {
  16. // Construction
  17. public:
  18. CUserList(CWnd* pParent = NULL);   // standard constructor
  19. ~CUserList();
  20. // Dialog Data
  21. //{{AFX_DATA(CUserList)
  22. enum { IDD = IDD_DIALOG1 };
  23. CMsnEdit m_search;
  24. CUserTree m_UserTree;
  25. //}}AFX_DATA
  26. CUserChat  chat;
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CUserList)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. HTREEITEM GetTreeItemFromPoint();
  34. std::vector<CUserChat*> arr_chat;
  35. protected:
  36. CImageList m_ILtabItem;
  37. // Generated message map functions
  38. //{{AFX_MSG(CUserList)
  39. afx_msg void OnClickTree1(NMHDR* pNMHDR, LRESULT* pResult);
  40. afx_msg void OnPaint();
  41. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnSize(UINT nType, int cx, int cy);
  44. afx_msg LRESULT OnEditButtonClicked(WPARAM wParam, LPARAM lParam);
  45. afx_msg void OnDblclkTree1(NMHDR* pNMHDR, LRESULT* pResult);
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_USERLIST_H__FF00BBCD_7BC6_4FA0_8D07_608E8DA5ACB6__INCLUDED_)