00001
00002
00003
00004 #pragma once
00005 class CMainFrame : public CMDIFrameWnd
00006 {
00007 DECLARE_DYNAMIC(CMainFrame)
00008 public:
00009 CMainFrame();
00010 CReBar m_rebar;
00011 CSliderCtrl m_trackbar;
00012 CButton m_button;
00013
00014
00015 public:
00016
00017
00018 public:
00019
00020
00021 public:
00022 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00023
00024
00025 public:
00026 virtual ~CMainFrame();
00027 #ifdef _DEBUG
00028 virtual void AssertValid() const;
00029 virtual void Dump(CDumpContext& dc) const;
00030 #endif
00031
00032 protected:
00033 CStatusBar m_wndStatusBar;
00034 CToolBar m_wndToolBar;
00035
00036
00037 protected:
00038 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00039 DECLARE_MESSAGE_MAP()
00040 public:
00041 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00042
00043 };
00044
00045