MainControl.h
资源名称:anywhere.zip [点击查看]
上传用户:zhenhuadz
上传日期:2007-01-07
资源大小:1511k
文件大小:2k
源码类别:
远程控制编程
开发平台:
Visual C++
- #if !defined(AFX_MAINCONTROL_H__2CFF1CE0_F5A2_11D3_9E45_00A0C936C4B3__INCLUDED_)
- #define AFX_MAINCONTROL_H__2CFF1CE0_F5A2_11D3_9E45_00A0C936C4B3__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MainControl.h : header file
- //
- #include "menuctrl.h"
- //#include "flatedit.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMainControl view
- class CMainControl : public CView
- {
- protected:
- CMainControl(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CMainControl)
- // Attributes
- public:
- // Operations
- public:
- CMenuCtrl m_treectrl;
- CEdit m_edit;
- //CFlatEdit m_edit;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainControl)
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CMainControl();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainControl)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINCONTROL_H__2CFF1CE0_F5A2_11D3_9E45_00A0C936C4B3__INCLUDED_)