XTPSyntaxEditPropertiesDlg.cpp
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:3k
源码类别:
对话框与窗口
开发平台:
Visual C++
- // XTPSyntaxEditPropertiesDlg.cpp : implementation 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 SYNTAX EDIT 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
- //
- /////////////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "Resource.h"
- // common includes
- #include "Common/XTPNotifyConnection.h"
- #include "Common/XTPSmartPtrInternalT.h"
- #include "Common/XTPResourceManager.h"
- // syntax editor includes
- #include "XTPSyntaxEditDefines.h"
- #include "XTPSyntaxEditStruct.h"
- #include "XTPSyntaxEditLexPtrs.h"
- #include "XTPSyntaxEditLexClassSubObjT.h"
- #include "XTPSyntaxEditTextIterator.h"
- #include "XTPSyntaxEditSectionManager.h"
- #include "XTPSyntaxEditLexCfgFileReader.h"
- #include "XTPSyntaxEditLexClassSubObjDef.h"
- #include "XTPSyntaxEditLexClass.h"
- #include "XTPSyntaxEditLexParser.h"
- #include "XTPSyntaxEditCtrl.h"
- #include "XTPSyntaxEditColorSampleText.h"
- #include "XTPSyntaxEditColorComboBox.h"
- #include "XTPSyntaxEditPropertiesPage.h"
- #include "XTPSyntaxEditPropertiesDlg.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CXTPSyntaxEditPropertiesDlg
- IMPLEMENT_DYNAMIC(CXTPSyntaxEditPropertiesDlg, CPropertySheet)
- CXTPSyntaxEditPropertiesDlg::CXTPSyntaxEditPropertiesDlg(CXTPSyntaxEditView* pEditView/*=NULL*/)
- : CPropertySheet(XTPResourceManager()->LoadString(XTP_IDD_EDIT_OPTIONS), (CWnd*)pEditView)
- , m_Page1(pEditView)
- , m_Page2(pEditView)
- , m_Page3(pEditView)
- {
- // Add all of the property pages here. Note that
- // the order that they appear in here will be
- // the order they appear in on screen. By default,
- // the first page of the set is the active one.
- // One way to make a different property page the
- // active one is to call SetActivePage().
- AddPage(&m_Page1);
- AddPage(&m_Page2);
- AddPage(&m_Page3);
- }
- CXTPSyntaxEditPropertiesDlg::~CXTPSyntaxEditPropertiesDlg()
- {
- }
- BEGIN_MESSAGE_MAP(CXTPSyntaxEditPropertiesDlg, CPropertySheet)
- //{{AFX_MSG_MAP(CXTPSyntaxEditPropertiesDlg)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CXTPSyntaxEditPropertiesDlg message handlers