00001
00002
00004
00005 #if !defined(AFX_MAINFRM_H__897C73EC_BE06_4C28_9D21_111DFCF8726F__INCLUDED_)
00006 #define AFX_MAINFRM_H__897C73EC_BE06_4C28_9D21_111DFCF8726F__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 class CMainFrame : public CMDIFrameWnd
00013 {
00014 DECLARE_DYNAMIC(CMainFrame)
00015 public:
00016 CMainFrame();
00017
00018
00019 public:
00020
00021
00022 public:
00023
00024
00025
00026
00027 public:
00028 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00029 virtual BOOL PreTranslateMessage(MSG* pMsg);
00030 protected:
00031 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
00032
00033
00034
00035 afx_msg LRESULT OnUserMessage(WPARAM wParam, LPARAM lParam);
00036
00037
00038 public:
00039 virtual ~CMainFrame();
00040 #ifdef _DEBUG
00041 virtual void AssertValid() const;
00042 virtual void Dump(CDumpContext& dc) const;
00043 #endif
00044
00045 protected:
00046 CStatusBar m_wndStatusBar;
00047 CToolBar m_wndToolBar;
00048
00049
00050 protected:
00051
00052 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00053 afx_msg void OnClose();
00054
00055 DECLARE_MESSAGE_MAP()
00056 };
00057
00059
00060
00061
00062
00063 #endif // !defined(AFX_MAINFRM_H__897C73EC_BE06_4C28_9D21_111DFCF8726F__INCLUDED_)