📄 resorgoptionsfixedsymbolspage.h
字号:
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2004 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : ResOrgOptionsFixedSymbolsPage.h
*
* Description : CResOrgOptionsFixedSymbolsPage - Property page class for
* general program options
*
* Compiler : Microsoft Visual C++ 6.0, Service Pack 3 or later
* Microsoft Visual C++ .NET 2002 or later
*
* 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/ResOrgOptionsFixedSymbolsPage.h $
* $Revision: 2 $
* $Date: 11/05/04 22:49 $
* $Author: Anna $
*
* $History: ResOrgOptionsFixedSymbolsPage.h $
*
* ***************** Version 2 *****************
* User: Anna Date: 11/05/04 Time: 22:49
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Improved handling of default fixed symbol lists
*
* ***************** Version 1 *****************
* User: Anna Date: 11/05/04 Time: 0:20
* Created in $/Projects/AddIns/ResOrg/ResOrgCore
*
* $Nokeywords: $
*
************************************************************************/
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CResOrgOptionsFixedSymbolsPage dialog
#define CResOrgOptionsFixedSymbolsPage_BASE CNGPropertyPage
class CResOrgOptionsFixedSymbolsPage : public CNGPropertyPage
{
DECLARE_DYNCREATE(CResOrgOptionsFixedSymbolsPage)
// Construction
public:
CResOrgOptionsFixedSymbolsPage(void);
virtual ~CResOrgOptionsFixedSymbolsPage(void);
// Dialog Data
enum { IDD = IDD_RESORG_OPTIONS_FIXED_SYMBOLS };
CNGHtmlStaticCtrl m_ctrlDescription;
CListBox m_ctrlFixedSymbols;
CString m_sSymbolToAdd;
std::set<CString> m_setFixedSymbols;
std::set<CString> m_setDefaultFixedSymbols;
// Operations
public:
int GetFixedSymbols(std::set<CString>& rsetFixedSymbols);
bool SetFixedSymbols(const std::set<CString>& setFixedSymbols);
bool SetDefaultFixedSymbols(const std::set<CString>& setDefaultFixedSymbols);
// Virtual overrides
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog(void);
public:
virtual void OnOK(void);
// Implementation
protected:
void FillSymbolsListBox(const std::set<CString>& setFixedSymbols);
void SetAvailableControls(void);
// Message handlers
afx_msg void OnChangeSymbolToAdd(void);
afx_msg void OnSelChangeFixedSymbols(void);
afx_msg void OnClickedAddSymbol(void);
afx_msg void OnClickedRemoveSymbols(void);
afx_msg void OnClickedDefaults(void);
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -