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 / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.5 KB  |  60 lines

  1. // MainFrm.h : interface of the CMainFrame 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. class CMainFrame : public CFrameWnd
  14. {
  15. protected: // create from serialization only
  16.     CMainFrame();
  17.     DECLARE_DYNCREATE(CMainFrame)
  18.  
  19. // Attributes
  20. public:
  21.     void CalcUpTime();
  22.     UINT    m_uTimer;
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CMainFrame)
  30.     public:
  31.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. public:
  36.     virtual ~CMainFrame();
  37. #ifdef _DEBUG
  38.     virtual void AssertValid() const;
  39.     virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41.  
  42. protected:  // control bar embedded members
  43.     CStatusBar  m_wndStatusBar;
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CMainFrame)
  48.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.     afx_msg void OnDestroy();
  50.     afx_msg void OnTimer(UINT nIDEvent);
  51.     //}}AFX_MSG
  52.     afx_msg void OnUpdateUpTime(CCmdUI* pCmdUI);
  53. #ifdef IMPL_CGI
  54.     afx_msg LRESULT OnCGIDone(WPARAM, LPARAM);
  55. #endif // IMPL_CGI
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.