home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c07 / tmpgraph / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.1 KB  |  48 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CFrameWnd
  6. {
  7. protected: // create from serialization only
  8.     CMainFrame();
  9.     DECLARE_DYNCREATE(CMainFrame)
  10.  
  11. // Attributes
  12. protected:
  13.     CSplitterWnd m_wndSplitter;
  14.     CTemperatureDlg * m_pDlg;
  15.  
  16. // Operations
  17. public:
  18.  
  19. // Overrides
  20.     // ClassWizard generated virtual function overrides
  21.     //{{AFX_VIRTUAL(CMainFrame)
  22.     public:
  23.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24.     protected:
  25.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  26.     //}}AFX_VIRTUAL
  27.  
  28. // Implementation
  29. public:
  30.     virtual ~CMainFrame();
  31. #ifdef _DEBUG
  32.     virtual void AssertValid() const;
  33.     virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CMainFrame)
  39.     afx_msg void OnChangeSetdailytemp();
  40.     //}}AFX_MSG
  41.     LRESULT MyTemperatureHandler(WPARAM, LPARAM);
  42.     void OnMonth(UINT nID);
  43.  
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.