| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__EEF44BEA_C47C_4BBB_9723_2E14BC025EE2__INCLUDED_)
- #define AFX_MAINFRM_H__EEF44BEA_C47C_4BBB_9723_2E14BC025EE2__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "DemoTreeCtrl.h"
- #include "CPropertyGrid\\PropertyGrid_Includes.h"
- class CMainFrame : public CFrameWnd
- {
- protected:
- CSplitterWnd m_wndSplitter1;
- CSplitterWnd m_wndSplitter2;
- CDemoTreeCtrl m_wndTree; // 树窗口
- CPropertyGrid m_wndProperty; // 属性窗口
- CEdit m_wndInfo; // 信息窗口
- public:
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg LRESULT OnTreeSelchanged(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnPropertyGridNotify(WPARAM wParam, LPARAM lParam);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__EEF44BEA_C47C_4BBB_9723_2E14BC025EE2__INCLUDED_)
|