📄 symbolpropertysheet.h
字号:
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2003 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : SymbolPropertySheet.h
*
* Description : CSymbolPropertySheet - property sheet class
*
* Compiler : Microsoft Visual C++ 6.0, Service Pack 3 or later
* Microsoft Visual C++ .NET 2002
*
* 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/SymbolPropertySheet.h $
* $Revision: 9 $
* $Date: 11/07/04 16:14 $
* $Author: Anna $
*
* $History: SymbolPropertySheet.h $
*
* ***************** Version 9 *****************
* User: Anna Date: 11/07/04 Time: 16:14
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added support for detection of out of range symbols
*
* ***************** Version 8 *****************
* User: Anna Date: 15/04/03 Time: 20:32
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Removed unnecessary file guards (#pragma once works well enough)
* 2. Updated file banners
*
* ***************** Version 7 *****************
* User: Anna Date: 25/11/02 Time: 15:19
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed website address in banner
*
* ***************** Version 6 *****************
* User: Anna Date: 22/10/02 Time: 13:24
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed name/mail address (at last!)
*
* ***************** Version 5 *****************
* 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 4 *****************
* User: Andy Date: 27/05/02 Time: 13:36
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Knock on changes from CResourceSymbolBuffer (now
* CResourceSymbolManager)
*
* ***************** Version 3 *****************
* User: Andy Date: 22/06/01 Time: 9:53
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Made class declaration "Rose friendly"
*
* ***************** Version 2 *****************
* User: Andy Date: 2/04/01 Time: 17:31
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* 1. Improved external interface
* 2. Implemented "Conflicts" page
*
* ***************** Version 1 *****************
* User: Andy Date: 27/03/01 Time: 15:17
* Created in $/Projects/AddIns/ResOrg/ResOrgUtils
*
* $Nokeywords: $
*
************************************************************************/
#pragma once
#include "SymbolPropertiesGeneralPage.h"
#include "SymbolPropertiesConflictsPage.h"
/////////////////////////////////////////////////////////////////////////////
// CSymbolPropertySheet
#define CSymbolPropertySheet_BASE CNGPropertySheet
class RESORGCORE_EXT_CLASS CSymbolPropertySheet : public CNGPropertySheet
{
DECLARE_DYNAMIC(CSymbolPropertySheet)
// Construction
public:
CSymbolPropertySheet( UINT nIDCaption,
CWnd* pParentWnd = NULL,
UINT iSelectPage = 0);
CSymbolPropertySheet( LPCTSTR pszCaption,
CWnd* pParentWnd = NULL,
UINT iSelectPage = 0);
virtual ~CSymbolPropertySheet(void);
// Attributes
protected:
CSymbolPropertiesGeneralPage m_GeneralPage;
CSymbolPropertiesConflictsPage m_ConflictsPage;
CResourceSymbolManager* m_pSymbols;
CResourceSymbol* m_pSymbol;
CResourceSymbolManager m_ConflictingSymbols;
BOOL m_bHasConflictsPage;
// Operations
public:
CSymbolPropertiesGeneralPage& GeneralPage(void)
{ return m_GeneralPage; }
BOOL Initialise( CResourceSymbolManager* pSymbols,
CResourceSymbol* pSymbol,
bool bEditValueOnly = false);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSymbolPropertySheet)
virtual BOOL OnInitDialog(void);
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL Initialise(void);
// Generated message map functions
protected:
//{{AFX_MSG(CSymbolPropertySheet)
afx_msg LRESULT OnMsgSymbolChanging(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -