OnlineUsersPage.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #if !defined(AFX_ONLINEUSERSPAGE_H__749D54B1_2C20_11D6_AB38_00D0B70C3D79__INCLUDED_)
  2. #define AFX_ONLINEUSERSPAGE_H__749D54B1_2C20_11D6_AB38_00D0B70C3D79__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // OnlineUsersPage.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // COnlineUsersPage dialog
  10. class COnlineUsersPage : public CDialog
  11. {
  12. DECLARE_DYNCREATE(COnlineUsersPage)
  13. // Construction
  14. public:
  15. void RefreshData();
  16. void RemoveUser(DWORD nThreadID);
  17. void AddUser(DWORD nThreadID, LPCTSTR lpszName, LPCTSTR lpszAddress);
  18. COnlineUsersPage();
  19. ~COnlineUsersPage();
  20. // Dialog Data
  21. //{{AFX_DATA(COnlineUsersPage)
  22. enum { IDD = IDD_PROPPAGE_ONLINE };
  23. CListCtrl m_OnlineUsers;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generate virtual function overrides
  27. //{{AFX_VIRTUAL(COnlineUsersPage)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(COnlineUsersPage)
  35. afx_msg void OnSize(UINT nType, int cx, int cy);
  36. virtual BOOL OnInitDialog();
  37. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  38. afx_msg void OnKickUser();
  39. afx_msg void OnEditUserAccount();
  40. afx_msg void OnBlockIp();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_ONLINEUSERSPAGE_H__749D54B1_2C20_11D6_AB38_00D0B70C3D79__INCLUDED_)