EclipseHost.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
- // EclipseHost.h : header file
- //
- // This file is a part of the XTREME TOOLKIT PRO MFC class library.
- // (c)1998-2008 Codejock Software, All Rights Reserved.
- //
- // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
- // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
- // CONSENT OF CODEJOCK SOFTWARE.
- //
- // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
- // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
- // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
- // SINGLE COMPUTER.
- //
- // CONTACT INFORMATION:
- // support@codejock.com
- // http://www.codejock.com
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ECLIPSEHOST_H__284ED544_8A69_42BB_8C9A_23E5BE2E009E__INCLUDED_)
- #define AFX_ECLIPSEHOST_H__284ED544_8A69_42BB_8C9A_23E5BE2E009E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CEclipseHost window
- #define CXTListCtrlEx CXTListCtrl
- class CEclipseHost : public CWnd
- {
- // Construction
- public:
- CEclipseHost();
- // Attributes
- public:
- // Operations
- public:
- void SetHostParams(UINT nID, HICON hIcon);
- BOOL Create(CWnd* pParentWnd);
- virtual CWnd* GetClientWnd() { return NULL; }
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEclipseHost)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CEclipseHost();
- CFont m_fntNormal;
- BOOL m_bActive;
- CString m_strTitle;
- UINT m_nID;
- HICON m_hIcon;
- CXTPToolBar m_wndToolBar;
- CXTPToolBar m_wndHostBar;
- int m_nHeaderHeight;
- CSize m_szCaption;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEclipseHost)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnPaint();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- afx_msg void OnPaneClose();
- afx_msg void OnPaneHide();
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
- //}}AFX_MSG
- LRESULT OnIdleUpdateCmdUI(WPARAM wParam, LPARAM);
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ECLIPSEHOST_H__284ED544_8A69_42BB_8C9A_23E5BE2E009E__INCLUDED_)