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.

50 lines
1.3 KiB

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. class CMainFrame : public CFrameWnd
  5. {
  6. protected: // create from serialization only
  7. CMainFrame();
  8. DECLARE_DYNCREATE(CMainFrame)
  9. // Attributes
  10. protected:
  11. CSplitterWnd m_wndSplitter;
  12. public:
  13. // Operations
  14. public:
  15. virtual void OnUpdateFrameTitle(BOOL bAddToTitle);
  16. // Overrides
  17. // ClassWizard generated virtual function overrides
  18. //{{AFX_VIRTUAL(CMainFrame)
  19. public:
  20. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  21. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. public:
  25. virtual ~CMainFrame();
  26. #ifdef _DEBUG
  27. virtual void AssertValid() const;
  28. virtual void Dump(CDumpContext& dc) const;
  29. #endif
  30. protected: // control bar embedded members
  31. CStatusBar m_wndStatusBar;
  32. CToolBar m_wndToolBar;
  33. // Generated message map functions
  34. protected:
  35. //{{AFX_MSG(CMainFrame)
  36. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  37. // NOTE - the ClassWizard will add and remove member functions here.
  38. // DO NOT EDIT what you see in these blocks of generated code!
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. /////////////////////////////////////////////////////////////////////////////