📄 resorgcore.h
字号:
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2004 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : ResOrgCore.h
*
* Description : Header file for using the ResOrgCore library
*
* Compiler : Microsoft Visual C++ 6.0, Service Pack 3 or later
* Microsoft Visual C++ .NET 2003
*
* Target
* Environment : Windows 98/NT/2000/XP
*
* NOTE:
*
* This software is provided "as is" free for personal use. All
* title and copyrights in and to the software, including but not
* limited to any images, text, etc. incorporated into it, are
* owned by Anna-Jayne Metcalfe, except where acknowledged otherwise.
*
* Your may freely to use this code in your own products, PROVIDED
* this notice is not removed or modified.
*
*
* Visit http://www.annasplace.me.uk/resorg for latest updates
*
************************************************************************
*
* MODIFICATION HISTORY:
*
* This is a controlled document. See project configuration
* control tool for latest version and full version history.
*
* $Archive: /Projects/AddIns/ResOrg/ResOrgCore/ResOrgCore.h $
* $Revision: 26 $
* $Date: 22/10/05 16:39 $
* $Author: Anna $
*
* $History: ResOrgCore.h $
*
* ***************** Version 26 *****************
* User: Anna Date: 22/10/05 Time: 16:39
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Exported CResOrgXmlWriter for use by the VC7 toolwindow
* 2. Moved CVc6AutomationHelper and CVc7AutomationHelper to the
* ResOrgAddIn and ResOrgNETAddIn projects respectively.
*
* ***************** Version 25 *****************
* User: Anna Date: 29/08/04 Time: 21:39
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Moved global functions to ResOrgCore_Globals.h
*
* ***************** Version 24 *****************
* User: Anna Date: 21/08/04 Time: 18:59
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* The application now uses CResOrgMDIChildWnd for MDI child frames
* instead of CChildFrame (which has been deleted)
*
* ***************** Version 23 *****************
* User: Anna Date: 4/03/03 Time: 20:50
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added CResOrgProgressDlg
*
* ***************** Version 22 *****************
* User: Anna Date: 30/01/03 Time: 21:03
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added CResOrgCoreApp
*
* ***************** Version 21 *****************
* User: Anna Date: 2/01/03 Time: 0:19
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Added CResOrgSymbolsDocMultiFile and
* CResourceSymbolManagerMultiFile
* 2. Removed QHTM (it's just more than I need for ResOrg)
*
* ***************** Version 20 *****************
* User: Anna Date: 25/11/02 Time: 15:11
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed website address in banner
*
* ***************** Version 19 *****************
* User: Anna Date: 22/10/02 Time: 13:24
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed name/mail address (at last!)
*
* ***************** Version 18 *****************
* User: Andy Date: 2/08/02 Time: 17:02
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Changes to the module names of the VS.NET version
* 2. Added CVc6AutomationHelper to the VC 5.0/6.0 version
*
* ***************** Version 17 *****************
* User: Andy Date: 1/08/02 Time: 16:24
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Added the QHTM module
* 2. Exported CResourceSymbolFilePropertySheet
*
* ***************** Version 16 *****************
* User: Andy Date: 7/06/02 Time: 22:22
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* VC7 builds now generate output filenames distinct from the VC6 version
*
* ***************** Version 15 *****************
* User: Andy Date: 7/06/02 Time: 17:04
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Renamed the ResOrgUtils module to ResOrgCore. Updated file banners
* accordingly
*
* ***************** Version 14 *****************
* User: Andy Date: 27/05/02 Time: 17:25
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* 1. Replaced CResourceSymbolBuffer with CResourceSymbolManager
* 2. Update file banner
*
* ***************** Version 13 *****************
* User: Andy Date: 15/08/01 Time: 22:01
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Removed unnecessary #include of ReservedSymbolsDlg.h
*
* ***************** Version 12 *****************
* User: Andy Date: 2/06/01 Time: 16:49
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added CResOrgMDIFrameWnd
*
* ***************** Version 11 *****************
* User: Andy Date: 26/05/01 Time: 15:14
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added Mailing List prompt option
*
* ***************** Version 10 *****************
* User: Andy Date: 16/05/01 Time: 20:57
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added new classes
*
* ***************** Version 9 *****************
* User: Andy Date: 21/04/01 Time: 7:25
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Exported CResOrgSplashWnd
*
* ***************** Version 8 *****************
* User: Andy Date: 5/04/01 Time: 6:10
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added support for version expiry (conditional compilation)
*
* ***************** Version 7 *****************
* User: Andy Date: 27/03/01 Time: 15:36
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added #includes for SymbolPropertySheet.h and
* SymbolPropertiesConflictsPage.h
*
* ***************** Version 6 *****************
* User: Andy Date: 2/03/01 Time: 13:12
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added GetSymbolFileName() function [previously in CWorkspaceHelper]
*
* ***************** Version 5 *****************
* User: Andy Date: 17/02/01 Time: 6:52
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* New exported classes
*
* ***************** Version 4 *****************
* User: Andy Date: 5/12/00 Time: 20:33
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added CResOrgHtmlDoc
*
* ***************** Version 3 *****************
* User: Andy Date: 3/12/00 Time: 8:34
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Exported CDSAddInLoader from the DLL
*
* ***************** Version 2 *****************
* User: Andy Date: 29/11/00 Time: 18:38
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added file banners
*
* $Nokeywords: $
*
************************************************************************/
#pragma once
#ifdef _UNICODE
#error Unicode is not yet supported by this library!
#endif
// Make it easier for clients apps to use us by removing the
// need for them to specify our import libraries directly
//
// If this include file is being used to build the library
// itself, we must disable this feature...
#ifndef __RESORGCORE_BUILD_DLL
#ifdef LIBNAME
#undef LIBNAME
#endif
#if _MSC_VER >= 1300 // VC 7.0 (.NET)
#ifdef _UNICODE
#ifdef _DEBUG
#define LIBNAME "ResOrgNETCoreUD.lib"
#else
#define LIBNAME "ResOrgNETCoreU.lib"
#endif
#else
#ifdef _DEBUG
#define LIBNAME "ResOrgNETCoreD.lib"
#else
#define LIBNAME "ResOrgNETCore.lib"
#endif
#endif
#else // VC 5.0/6.0
#ifdef _UNICODE
#ifdef _DEBUG
#define LIBNAME "ResOrgCoreUD.lib"
#else
#define LIBNAME "ResOrgCoreU.lib"
#endif
#else
#ifdef _DEBUG
#define LIBNAME "ResOrgCoreD.lib"
#else
#define LIBNAME "ResOrgCore.lib"
#endif
#endif
#endif
//#pragma message("Automatically linking with " LIBNAME)
#pragma comment(lib, LIBNAME)
#endif
#include <afxcmn.h> // MFC support for Windows Common Controls
#include <afxtempl.h>
#include "..\NGLibrary\NGLibrary.h"
#include "ResOrgCore_Res.h"
#include "ResOrgCore_DllDefs.h"
// Classes
#include "ResOrgOptions.h"
#include "DSAddInLoader.h"
#include "ResOrgVersionCheck.h"
#include "ResourceFileBuffer.h" // Resource File Buffer class
#include "ResourceSymbolTypes.h" // Resource Symbol Types class
#include "ResourceSymbol.h" // Resource Symbol class
#include "ResourceSymbolList.h" // Resource Symbol List class
#include "ResourceSymbolManager.h" // Resource Symbol Manager class
#include "ProjectFileBuffer.h" // Project File (.dsp) Buffer class
#include "WorkspaceFileBuffer.h" // Workspace File (.dsw) Buffer class
#include "ResourceSymbolManagerMultiFile.h" // Symbol Manager class for multiple files
#include "ResOrgXmlWriter.h" // XML configuration read/write
// Dialog classes
#include "SymbolPropertySheet.h" // Resource Symbol Properties
#include "SymbolPropertiesGeneralPage.h"
#include "SymbolPropertiesConflictsPage.h"
#include "ResourceSymbolFilePropertySheet.h"
#include "ResOrgCoreApp.h"
#include "ResOrgAboutBox.h" // About Box (common to app & add-in)
#include "ResOrgSplashWnd.h" // Splash screen
#include "ResOrgVersionUpdatedDlg.h" // "Version Updated" dialog
#include "ResOrgProgressDlg.h" // Progress dialog
// Document/View classes
#include "ResOrgMDIFrameWnd.h"
#include "ResOrgMDIChildWnd.h"
#include "ResOrgSymbolsDoc.h"
#include "ResOrgSymbolsDocMultiFile.h"
#include "ResOrgSymbolsListCtrl.h"
#include "ResOrgSymbolsListView.h"
#include "ResOrgHtmlDoc.h"
// Symbol Renumbering Wizard
#include "RenumWizard.h"
#include "RenumWizardPage.h"
#include "RenumWizIntroPage.h"
#include "RenumWizWafflePage.h"
#include "RenumWizBaseValuesPage.h"
#include "RenumWizCompletionPage.h"
#define _LINK_TO_UTB_IN_EXTDLL
#include "OXDllExt.h"
#include "OXTabClientWnd.h"
// Global functions
#include "ResOrgCore_Globals.h"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -