📄 resorgoptions.h
字号:
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2004 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : ResOrgOptions.h
*
* Description : CResOrgOptions - class to hold program options
*
* 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/ResOrgOptions.h $
* $Revision: 29 $
* $Date: 29/08/04 21:32 $
* $Author: Anna $
*
* $History: ResOrgOptions.h $
*
* ***************** Version 29 *****************
* User: Anna Date: 29/08/04 Time: 21:32
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Added CResOrgOptions::UpdateBooleanOption() as a means of
* simplifying the CResOrgOptions implementation
* 2. Added "Auto save symbol file config" option
* 3. Fixed some miscellaneous bugs
*
* ***************** Version 28 *****************
* User: Anna Date: 21/08/04 Time: 19:29
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added "Check For Out Of Range Symbols" option
*
* ***************** Version 27 *****************
* User: Anna Date: 11/05/04 Time: 22:50
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Improved handling of default fixed symbol lists
* 2. Corrected a couple of website URLs
*
* ***************** Version 26 *****************
* User: Anna Date: 11/05/04 Time: 0:22
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* By popular request...added support for "Fixed" symbols
*
* ***************** Version 25 *****************
* User: Anna Date: 20/04/03 Time: 15:33
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added m_bAutoSaveSymbolFileConfig (reserved for future use)
*
* ***************** Version 24 *****************
* User: Anna Date: 15/04/03 Time: 20:37
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Removed unnecessary file guards (#pragma once works well enough)
* 2. Updated file banners
*
* ***************** Version 23 *****************
* User: Anna Date: 19/03/03 Time: 18:42
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Moved the "OPTIONS" #define to ResOrgOptions.h so that CResOrgSplashWnd
* can see it
*
* ***************** Version 22 *****************
* User: Anna Date: 15/02/03 Time: 20:47
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed big BOOLs into little bools
*
* ***************** Version 21 *****************
* User: Anna Date: 3/01/03 Time: 7:36
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added an option to filter multi-file Symbols Displays by default
*
* ***************** Version 20 *****************
* User: Anna Date: 25/11/02 Time: 20:28
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Updated website address on file banner and in the code
* 2. Added CResOrgOptions::GetEmailURL()
*
* ***************** 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: 7/06/02 Time: 17:04
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Renamed the ResOrgUtils module to ResOrgCore. Updated file banners
* accordingly
*
* ***************** Version 17 *****************
* User: Andy Date: 7/06/02 Time: 9:39
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* The "Add-In" page is no longer used in the Visual C++.NET version
*
* ***************** Version 16 *****************
* User: Andy Date: 10/05/02 Time: 16:00
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added "Use Office XP style menus" option
*
* ***************** Version 15 *****************
* User: Andy Date: 12/28/01 Time: 12:52a
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added some new options and moved the others around a bit
*
* ***************** Version 14 *****************
* User: Andy Date: 11/15/01 Time: 1:43p
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added new option to determine whether development versions should be
* checked for updates
*
* ***************** Version 13 *****************
* User: Andy Date: 10/21/01 Time: 11:00p
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added "Warn if Next Symbol values are in use" option
*
* ***************** Version 12 *****************
* User: Andy Date: 8/07/01 Time: 8:36
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* CResOrgOptions::Configure() now allows the parent window of the Options
* dialog to be specified
*
* ***************** Version 11 *****************
* User: Andy Date: 2/07/01 Time: 22:17
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added additional options for web URLs (updated from the version
* checker)
*
* ***************** Version 10 *****************
* User: Andy Date: 22/06/01 Time: 9:48
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Made class declaration "Rose friendly"
*
* ***************** Version 9 *****************
* User: Andy Date: 26/05/01 Time: 15:14
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added Mailing List prompt option
*
* ***************** Version 8 *****************
* User: Andy Date: 22/05/01 Time: 16:02
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* 1. Removed version check code from Initialise () to a new
* DoVersionCheck() method. This prevents problems with the "nag" screen
* displayed by the ResOrg app.
* 2. Made StartVersionCheck() a bit more fault tolerant
*
* ***************** Version 7 *****************
* User: Andy Date: 22/05/01 Time: 6:42
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* 1. Class now derived from CCmdTarget to allow it to receive WM_COMMAND
* notifications from the MainFrame
* 2. StartVersionCheck() now takes an extra parameter to allow dial-up
* networking prompts to be disabled
* 3. OnVersionCheckCompleted() now returns an error code instead of a
* boolean
* 4. Added OnExit()
*
* ***************** Version 6 *****************
* User: Andy Date: 16/05/01 Time: 20:56
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added "Updates" page and version checking
*
* ***************** Version 5 *****************
* User: Andy Date: 12/05/01 Time: 6:47
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added a registry entry to allow ResOrg to be forced to check a
* particular version of DevStudio
*
* ***************** Version 4 *****************
* User: Andy Date: 5/12/00 Time: 20:32
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added web URL to options
*
* ***************** Version 3 *****************
* User: Andy Date: 3/12/00 Time: 8:40
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added AskAboutLoadingAddIn()
*
* ***************** Version 2 *****************
* User: Andy Date: 29/11/00 Time: 18:38
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added file banners
*
* $Nokeywords: $
*
************************************************************************/
#pragma once
#include <set>
/////////////////////////////////////////////////////////////////////////////
// CResOrgOptions class
#define OPTIONS _T("Options")
#define OPTION_EMAIL_URL _T("Email URL")
#define OPTION_WEB_URL _T("Web URL")
#define OPTION_FAQ_URL _T("FAQ URL")
#define OPTION_DISCUSSIONS_URL _T("Discussion Board URL")
#define OPTION_BUGS_URL _T("Known Bugs URL")
#define OPTION_MAILING_LIST_URL _T("Mailing List URL")
#define OPTION_ABOUTME_URL _T("About Me URL")
#define OPTION_WARN_SYM_CHANGES _T("Warn On Symbol Changes")
#define OPTION_AUTOFIX_NEXT_SYM_VALUES _T("Auto fix Next Symbol Values")
#define OPTION_WARN_NEXT_SYM_VALUES _T("Warn if Next Symbol Values in use")
#define OPTION_FILTER_MULTI_FILE_DISPLAYS _T("Filter Multi-File Symbols Displays")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -