home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 02 Useful Techniques / 07 Vykruta / MainFrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-11-13  |  1.5 KB  |  61 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MAINFRM_H__6F71D258_D83E_11D5_BA44_000102368FA3__INCLUDED_)
  6. #define AFX_MAINFRM_H__6F71D258_D83E_11D5_BA44_000102368FA3__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. #include "ChildView.h"
  13.  
  14. class CMainFrame : public CFrameWnd
  15. {
  16.     
  17. public:
  18.     CMainFrame();
  19. protected: 
  20.     DECLARE_DYNAMIC(CMainFrame)
  21.  
  22. // Attributes
  23. public:
  24.  
  25. // Operations
  26. public:
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CMainFrame)
  31.     public:
  32.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. public:
  37.     virtual ~CMainFrame();
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42.     CChildView    m_wndView;
  43.  
  44. // Generated message map functions
  45. protected:
  46.     //{{AFX_MSG(CMainFrame)
  47.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  48.     afx_msg void OnSetFocus(CWnd *pOldWnd);
  49.     afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  50.     afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_MAINFRM_H__6F71D258_D83E_11D5_BA44_000102368FA3__INCLUDED_)
  61.