UserList.h
资源名称:MSN.rar [点击查看]
上传用户:seeker_wen
上传日期:2016-05-23
资源大小:2084k
文件大小:2k
源码类别:
ICQ/即时通讯
开发平台:
Visual C++
- #if !defined(AFX_USERLIST_H__FF00BBCD_7BC6_4FA0_8D07_608E8DA5ACB6__INCLUDED_)
- #define AFX_USERLIST_H__FF00BBCD_7BC6_4FA0_8D07_608E8DA5ACB6__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // UserList.h : header file
- //
- #include "usertree.h"
- #include "MsnEdit.h"
- #include <vector>
- /////////////////////////////////////////////////////////////////////////////
- // CUserList dialog
- #include "UserChat.h"
- class CUserList : public CDialog
- {
- // Construction
- public:
- CUserList(CWnd* pParent = NULL); // standard constructor
- ~CUserList();
- // Dialog Data
- //{{AFX_DATA(CUserList)
- enum { IDD = IDD_DIALOG1 };
- CMsnEdit m_search;
- CUserTree m_UserTree;
- //}}AFX_DATA
- CUserChat chat;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CUserList)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- HTREEITEM GetTreeItemFromPoint();
- std::vector<CUserChat*> arr_chat;
- protected:
- CImageList m_ILtabItem;
- // Generated message map functions
- //{{AFX_MSG(CUserList)
- afx_msg void OnClickTree1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnPaint();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- virtual BOOL OnInitDialog();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg LRESULT OnEditButtonClicked(WPARAM wParam, LPARAM lParam);
- afx_msg void OnDblclkTree1(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_USERLIST_H__FF00BBCD_7BC6_4FA0_8D07_608E8DA5ACB6__INCLUDED_)