📄 resorgoptionsgeneralpage.cpp
字号:
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2003 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : ResOrgOptionsGeneralPage.cpp
*
* Description : CResOrgOptionsGeneralPage - Property page class for
* general program options
*
* 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/ResOrgOptionsGeneralPage.cpp $
* $Revision: 10 $
* $Date: 15/04/03 20:37 $
* $Author: Anna $
*
* $History: ResOrgOptionsGeneralPage.cpp $
*
* ***************** Version 10 *****************
* 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 9 *****************
* User: Anna Date: 25/11/02 Time: 15:14
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed website address in banner
*
* ***************** Version 8 *****************
* User: Anna Date: 22/10/02 Time: 13:24
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Changed name/mail address (at last!)
*
* ***************** Version 7 *****************
* 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 6 *****************
* User: Andy Date: 10/05/02 Time: 16:00
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added "Use Office XP style menus" option
*
* ***************** Version 5 *****************
* User: Andy Date: 12/27/01 Time: 11:48p
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Moved options around a bit
*
* ***************** Version 4 *****************
* User: Andy Date: 10/21/01 Time: 11:01p
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added "Warn if Next Symbol values are in use" option
*
* ***************** Version 3 *****************
* User: Andy Date: 16/05/01 Time: 20:54
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Renamed class for consistancy
*
* ***************** Version 2 *****************
* User: Andy Date: 29/11/00 Time: 18:37
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added file banners
*
* $Nokeywords: $
*
************************************************************************/
#include "StdAfx.h"
#include "ResOrgCore_Priv.h"
#include "ResOrgOptionsGeneralPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CResOrgOptionsGeneralPage property page
IMPLEMENT_DYNCREATE(CResOrgOptionsGeneralPage, CResOrgOptionsGeneralPage_BASE)
CResOrgOptionsGeneralPage::CResOrgOptionsGeneralPage(void) : CResOrgOptionsGeneralPage_BASE(CResOrgOptionsGeneralPage::IDD)
{
//{{AFX_DATA_INIT(CResOrgOptionsGeneralPage)
m_bShowTextOnToolbars = FALSE;
m_bAutoReloadFiles = FALSE;
m_bAutoHideWorkspace = FALSE;
m_bXpStyleMenus = FALSE;
//}}AFX_DATA_INIT
}
CResOrgOptionsGeneralPage::~CResOrgOptionsGeneralPage(void)
{
}
void CResOrgOptionsGeneralPage::DoDataExchange(CDataExchange* pDX)
{
CResOrgOptionsGeneralPage_BASE::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CResOrgOptionsGeneralPage)
DDX_Check(pDX, IDC_RESORG_SHOW_TEXT, m_bShowTextOnToolbars);
DDX_Check(pDX, IDC_RESORG_AUTO_RELOAD_FILES, m_bAutoReloadFiles);
DDX_Check(pDX, IDC_RESORG_AUTO_HIDE_WORKSPACE, m_bAutoHideWorkspace);
DDX_Check(pDX, IDC_RESORG_XP_MENUS, m_bXpStyleMenus);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CResOrgOptionsGeneralPage, CResOrgOptionsGeneralPage_BASE)
//{{AFX_MSG_MAP(CResOrgOptionsGeneralPage)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CResOrgOptionsGeneralPage overrides
BOOL CResOrgOptionsGeneralPage::OnInitDialog(void)
{
CResOrgOptionsGeneralPage_BASE::OnInitDialog();
SetAvailableControls();
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CResOrgOptionsGeneralPage implementation
void CResOrgOptionsGeneralPage::SetAvailableControls(void)
{
}
/////////////////////////////////////////////////////////////////////////////
// CResOrgOptionsGeneralPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -