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.

64 lines
1.7 KiB

  1. // ChildFrm.h : interface of the CChildFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CHILDFRM_H__54A20A14_7B10_4F89_A933_5A8BF763A720__INCLUDED_)
  5. #define AFX_CHILDFRM_H__54A20A14_7B10_4F89_A933_5A8BF763A720__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ChildView.h"
  10. class CChildFrame : public CMDIChildWnd
  11. {
  12. DECLARE_DYNCREATE(CChildFrame)
  13. public:
  14. CChildFrame();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CChildFrame)
  22. public:
  23. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24. virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. public:
  28. // view for the client area of the frame.
  29. CChildView m_wndView;
  30. virtual ~CChildFrame();
  31. #ifdef _DEBUG
  32. virtual void AssertValid() const;
  33. virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CChildFrame)
  38. afx_msg void OnFileClose();
  39. afx_msg void OnSetFocus(CWnd* pOldWnd);
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. afx_msg void OnFullMdiMaximized();
  42. afx_msg void OnUpdateFullMdiMaximized(CCmdUI* pCmdUI);
  43. afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. BOOL m_fFullMdiMax;
  47. };
  48. /////////////////////////////////////////////////////////////////////////////
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_CHILDFRM_H__54A20A14_7B10_4F89_A933_5A8BF763A720__INCLUDED_)