OnlineUsersPage.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 RemoveUser(DWORD nThreadID);
  16. void AddUser(DWORD nThreadID, LPCTSTR lpszName, LPCTSTR lpszAddress);
  17. COnlineUsersPage();
  18. ~COnlineUsersPage();
  19. // Dialog Data
  20. //{{AFX_DATA(COnlineUsersPage)
  21. enum { IDD = IDD_PROPPAGE_ONLINE };
  22. CListCtrl m_OnlineUsers;
  23. //}}AFX_DATA
  24. // Overrides
  25. // ClassWizard generate virtual function overrides
  26. //{{AFX_VIRTUAL(COnlineUsersPage)
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. protected:
  32. // Generated message map functions
  33. //{{AFX_MSG(COnlineUsersPage)
  34. afx_msg void OnSize(UINT nType, int cx, int cy);
  35. virtual BOOL OnInitDialog();
  36. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  37. afx_msg void OnKickUser();
  38. afx_msg void OnEditUserAccount();
  39. afx_msg void OnBlockIp();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_ONLINEUSERSPAGE_H__749D54B1_2C20_11D6_AB38_00D0B70C3D79__INCLUDED_)