⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resourcesymbolfilepropertypage.cpp

📁 ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - Manage and Renumber Resource Symbol IDs Introduction The
💻 CPP
字号:
/************************************************************************
 *
 *                 Resource ID Organiser Core Library
 *
 * (c) Copyright 2000-2003 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
 *                         All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Filename    : ResourceSymbolFilePropertyPage.cpp
 *
 *  Description : CResourceSymbolFilePropertyPage - base class for property
 *                pages within the Symbol File Properties dialog.
 *                
 *  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/ResourceSymbolFilePropertyPage.cpp $
 *   $Revision: 5 $
 *       $Date: 1/07/03 21:02 $
 *     $Author: Anna $
 *
 *    $History: ResourceSymbolFilePropertyPage.cpp $
 * 
 * *****************  Version 5  *****************
 * User: Anna         Date: 1/07/03    Time: 21:02
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Fixed selection bugs with multi-file symbols displays
 * 
 * *****************  Version 4  *****************
 * User: Anna         Date: 26/06/03   Time: 20:18
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Minor mod to prevent an ASSERT from the resizer if the page is reused
 * 
 * *****************  Version 3  *****************
 * User: Anna         Date: 24/06/03   Time: 14:27
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Added resizing capability
 * 
 * *****************  Version 2  *****************
 * User: Anna         Date: 28/01/03   Time: 21:19
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Improved multi-file support by allowing files to be Added/Removed from
 * a multi-file display via the File Properties Dialog
 * 
 * *****************  Version 1  *****************
 * User: Anna         Date: 19/01/03   Time: 17:21
 * Created in $/Projects/AddIns/ResOrg/ResOrgCore
 * CResourceSymbolFilePropertyPage - base class for property pages within
 * the Symbol File Properties dialog
 *
 * $Nokeywords: $
 *
 ************************************************************************/


#include "StdAfx.h"
#include "ResOrgCore_Priv.h"

#include "ResourceSymbolManager.h"

#include "ResourceSymbolFilePropertyPage.h"


#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CResourceSymbolFilePropertyPage dialog

IMPLEMENT_DYNAMIC(CResourceSymbolFilePropertyPage, CResourceSymbolFilePropertyPage_BASE)


CResourceSymbolFilePropertyPage::CResourceSymbolFilePropertyPage(UINT nID)
	: CResourceSymbolFilePropertyPage_BASE(nID)
{
	//{{AFX_DATA_INIT(CResourceSymbolFilePropertyPage)
	//}}AFX_DATA_INIT

	m_pSymbols			= NULL;
	m_pDoc				= NULL;
}


void CResourceSymbolFilePropertyPage::DoDataExchange(CDataExchange* pDX)
{
	CResourceSymbolFilePropertyPage_BASE::DoDataExchange(pDX);

	//{{AFX_DATA_MAP(CResourceSymbolFilePropertyPage)
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CResourceSymbolFilePropertyPage, CResourceSymbolFilePropertyPage_BASE)

	//{{AFX_MSG_MAP(CResourceSymbolFilePropertyPage)
	//}}AFX_MSG_MAP

END_MESSAGE_MAP()


BOOL CResourceSymbolFilePropertyPage::OnInitDialog(void)
{
	ASSERT(NULL != m_pSymbols);		// Must be set first

	m_Resizer.Create(this);

	CResourceSymbolFilePropertyPage_BASE::OnInitDialog();

	return TRUE;
}


void CResourceSymbolFilePropertyPage::OnOK(void)
{
	CResourceSymbolFilePropertyPage_BASE::OnOK();
}


/////////////////////////////////////////////////////////////////////////////
// CResourceSymbolFilePropertyPage operations

bool CResourceSymbolFilePropertyPage::SetSymbolManager(CResourceSymbolManager* pSymbols)
{
	m_pSymbols	= pSymbols;

	return (NULL != m_pSymbols);
}


/////////////////////////////////////////////////////////////////////////////
// CResourceSymbolFilePropertyPage implementation


/////////////////////////////////////////////////////////////////////////////
// CResourceSymbolFilePropertyPage message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -