Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.4 KiB

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__044545C0_0809_42F8_BAB5_8D920DCDD809__INCLUDED_)
  5. #define AFX_MAINFRM_H__044545C0_0809_42F8_BAB5_8D920DCDD809__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CMainFrame : public CFrameWnd
  10. {
  11. protected: // create from serialization only
  12. CMainFrame();
  13. DECLARE_DYNCREATE(CMainFrame)
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CMainFrame)
  21. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. public:
  25. CStatusBar* GetStatusBar();
  26. virtual ~CMainFrame();
  27. #ifdef _DEBUG
  28. virtual void AssertValid() const;
  29. virtual void Dump(CDumpContext& dc) const;
  30. #endif
  31. protected: // control bar embedded members
  32. CStatusBar m_wndStatusBar;
  33. CToolBar m_wndToolBar;
  34. CReBar m_wndReBar;
  35. // CDialogBar m_wndDlgBar;
  36. // Generated message map functions
  37. protected:
  38. //{{AFX_MSG(CMainFrame)
  39. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. /////////////////////////////////////////////////////////////////////////////
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_MAINFRM_H__044545C0_0809_42F8_BAB5_8D920DCDD809__INCLUDED_)