home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / internet / httpsvr / namepage.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.4 KB  |  58 lines

  1. // NamePage.h : interface of the CNamePage class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1997-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CNamePage dialog
  15.  
  16. class CHttpSvrDoc;
  17.  
  18. class CNamePage : public CPropertyPage
  19. {
  20.     DECLARE_DYNCREATE(CNamePage)
  21.  
  22. // Construction
  23. public:
  24.      CNamePage( CHttpSvrDoc* pDoc );
  25.     CHttpSvrDoc* m_pDoc;
  26.     CNamePage();
  27.     ~CNamePage();
  28.  
  29. // Dialog Data
  30.     //{{AFX_DATA(CNamePage)
  31.     enum { IDD = IDD_NAMEPAGE };
  32.     CString m_strName;
  33.     int     m_nNameSetting;
  34.     UINT    m_uPort;
  35.     //}}AFX_DATA
  36.  
  37.  
  38. // Overrides
  39.     // ClassWizard generate virtual function overrides
  40.     //{{AFX_VIRTUAL(CNamePage)
  41.     public:
  42.     virtual void OnOK();
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.     // Generated message map functions
  50.     //{{AFX_MSG(CNamePage)
  51.     virtual BOOL OnInitDialog();
  52.     afx_msg void OnDefName();
  53.     afx_msg void OnUseName();
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56.  
  57. };
  58.