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.

99 lines
2.8 KiB

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__918137F4_65E3_4033_AF9C_74AAEEB223D5__INCLUDED_)
  5. #define AFX_MAINFRM_H__918137F4_65E3_4033_AF9C_74AAEEB223D5__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CMainFrame : public CMDIFrameWnd
  10. {
  11. DECLARE_DYNAMIC(CMainFrame)
  12. public:
  13. 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. 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. void DoMinMaxStress();
  32. CStatusBar m_wndStatusBar;
  33. CToolBar m_wndToolBar;
  34. CReBar m_wndReBar;
  35. CDialogBar m_wndDlgBar;
  36. BOOL m_fMinMaxStress;
  37. BOOL m_fFullScrnMax;
  38. BOOL m_fAltIcon;
  39. BOOL m_fDfcAppCompat;
  40. BOOL m_fDcAppCompat;
  41. HICON m_hIcon;
  42. HICON m_hAltIcon;
  43. BOOL m_fAltTitle;
  44. CString m_csTitle;
  45. CString m_csAltTitle;
  46. WINDOWINFO* m_pwiNormal0;
  47. // Generated message map functions
  48. protected:
  49. //{{AFX_MSG(CMainFrame)
  50. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  51. afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
  52. afx_msg void OnFullScrnMaximized();
  53. afx_msg void OnUpdateFullScrnMaximized(CCmdUI* pCmdUI);
  54. afx_msg void OnAwrWindow();
  55. afx_msg void OnAwrWindowMenu();
  56. afx_msg void OnNonClientMetrics();
  57. afx_msg void OnThinFrame();
  58. afx_msg void OnDumpMetrics();
  59. afx_msg void OnMinimizeBox();
  60. afx_msg void OnUpdateMinimizeBox(CCmdUI* pCmdUI);
  61. afx_msg void OnMaximizeBox();
  62. afx_msg void OnUpdateMaximizeBox(CCmdUI* pCmdUI);
  63. afx_msg void OnSysMenu();
  64. afx_msg void OnUpdateSysMenu(CCmdUI* pCmdUI);
  65. afx_msg void OnUpdateCloseBtn(CCmdUI* pCmdUI);
  66. afx_msg void OnCloseBtn();
  67. afx_msg void OnToolframe();
  68. afx_msg void OnAltIcon();
  69. afx_msg void OnUpdateAltIcon(CCmdUI* pCmdUI);
  70. afx_msg void OnAltTitle();
  71. afx_msg void OnUpdateAltTitle(CCmdUI* pCmdUI);
  72. afx_msg void OnDcAppcompat();
  73. afx_msg void OnUpdateDcAppcompat(CCmdUI* pCmdUI);
  74. afx_msg void OnDfcAppcompat();
  75. afx_msg void OnUpdateDfcAppcompat(CCmdUI* pCmdUI);
  76. afx_msg void OnNcPaint();
  77. afx_msg void OnMinMaxStress();
  78. afx_msg void OnUpdateMinMaxStress(CCmdUI* pCmdUI);
  79. afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
  80. //}}AFX_MSG
  81. DECLARE_MESSAGE_MAP()
  82. };
  83. /////////////////////////////////////////////////////////////////////////////
  84. //{{AFX_INSERT_LOCATION}}
  85. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  86. #endif // !defined(AFX_MAINFRM_H__918137F4_65E3_4033_AF9C_74AAEEB223D5__INCLUDED_)