home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / ReplicaNetFreewareV5_4.exe / data1.cab / Program_Executable_Files / Example5 / Example5Dlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-30  |  2.1 KB  |  76 lines

  1. /* START_LICENSE_HEADER
  2.  
  3. Copyright (C) 2000 Martin Piper, original design and program code
  4. Copyright (C) 2001-2005 Replica Software
  5.  
  6. This program file is copyright (C) Replica Software and can only be used under license.
  7. For more information visit: http://www.replicanet.com/
  8. Or email: info@replicanet.com
  9.  
  10. END_LICENSE_HEADER */
  11. // Example5Dlg.h : header file
  12. //
  13.  
  14. #if !defined(AFX_EXAMPLE5DLG_H__67DD6E7B_B15D_4169_BE0D_0D9DAF405951__INCLUDED_)
  15. #define AFX_EXAMPLE5DLG_H__67DD6E7B_B15D_4169_BE0D_0D9DAF405951__INCLUDED_
  16.  
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20.  
  21. #include "RNXPSession/Inc/XPSession.h"
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CExample5Dlg dialog
  25.  
  26. class CExample5Dlg : public CDialog
  27. {
  28. // Construction
  29. public:
  30.     CExample5Dlg(CWnd* pParent = NULL);    // standard constructor
  31.  
  32. // Dialog Data
  33.     //{{AFX_DATA(CExample5Dlg)
  34.     enum { IDD = IDD_EXAMPLE5_DIALOG };
  35.     CButton    m_AllowSpider;
  36.     CButton    m_CanBeMaster;
  37.     CEdit    mChatHandle;
  38.     CEdit    mJoinEdit;
  39.     CListBox    mServerListControl;
  40.     //}}AFX_DATA
  41.  
  42.     // ClassWizard generated virtual function overrides
  43.     //{{AFX_VIRTUAL(CExample5Dlg)
  44.     protected:
  45.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46.     //}}AFX_VIRTUAL
  47.  
  48. // Implementation
  49. protected:
  50.     HICON m_hIcon;
  51.  
  52.     // Generated message map functions
  53.     //{{AFX_MSG(CExample5Dlg)
  54.     virtual BOOL OnInitDialog();
  55.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  56.     afx_msg void OnPaint();
  57.     afx_msg HCURSOR OnQueryDragIcon();
  58.     afx_msg void OnButton3();
  59.     afx_msg void OnTimer(UINT nIDEvent);
  60.     afx_msg void OnButton2();
  61.     afx_msg void OnButton1();
  62.     afx_msg void OnSelchangeList1();
  63.     afx_msg void OnChangeEdit2();
  64.     afx_msg void OnCheck1();
  65.     afx_msg void OnCheck2();
  66.     //}}AFX_MSG
  67.     DECLARE_MESSAGE_MAP()
  68. private:
  69.     RNReplicaNet::XPSession *mXPSession;
  70. };
  71.  
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  74.  
  75. #endif // !defined(AFX_EXAMPLE5DLG_H__67DD6E7B_B15D_4169_BE0D_0D9DAF405951__INCLUDED_)
  76.