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

📄 resorgaddinloadprompt.cpp

📁 一个vc中管理资源文件ID的插件
💻 CPP
字号:
/************************************************************************
 *
 *                   Resource ID Organiser Application
 *
 *       (c) Copyright 2000 by Andy Metcalfe (andy.metcalfe@lineone.net)
 *                         All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Filename    : ResOrgAddInLoadPrompt.cpp
 *
 *  Description : CResOrgAddInLoadPrompt - dialog class
 *
 *  Compiler    : Microsoft Visual C++ 6.0, Service Pack 3 or 4
 *                                                                       
 *  Target                                                               
 *  Environment : Windows 98/NT
 *
 *  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 Andy 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.resorg.co.uk 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/ResOrgApp/ResOrgAddInLoadPrompt.cpp $
 *   $Revision: 2 $
 *       $Date: 4/05/01 22:33 $
 *     $Author: Andy $
 *
 *    $History: ResOrgAddInLoadPrompt.cpp $
 * 
 * *****************  Version 2  *****************
 * User: Andy         Date: 4/05/01    Time: 22:33
 * Updated in $/Projects/AddIns/ResOrg/ResOrgApp
 * Bug fix - the "don't ask me this question again" checkbox now does what
 * it says
 * 
 * *****************  Version 1  *****************
 * User: Andy         Date: 3/12/00    Time: 8:34
 * Created in $/Projects/AddIns/ResOrg/ResOrgApp
 * 
 *
 * $Nokeywords: $
 *
 ************************************************************************/

// ResOrgAddInLoadPrompt.cpp : implementation file
//

#include "stdafx.h"
#include "resorgapp.h"
#include "ResOrgAddInLoadPrompt.h"

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

/////////////////////////////////////////////////////////////////////////////
// CResOrgAddInLoadPrompt dialog


CResOrgAddInLoadPrompt::CResOrgAddInLoadPrompt(CWnd* pParent /*=NULL*/)
	: CDialog(CResOrgAddInLoadPrompt::IDD, pParent)
{
	//{{AFX_DATA_INIT(CResOrgAddInLoadPrompt)
	m_bDontAskAgain = FALSE;
	//}}AFX_DATA_INIT
}


void CResOrgAddInLoadPrompt::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CResOrgAddInLoadPrompt)
	DDX_Check(pDX, IDC_DONT_ASK_AGAIN, m_bDontAskAgain);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CResOrgAddInLoadPrompt, CDialog)
	//{{AFX_MSG_MAP(CResOrgAddInLoadPrompt)
	ON_BN_CLICKED(IDYES, OnClickedYes)
	ON_BN_CLICKED(IDNO, OnClickedNo)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CResOrgAddInLoadPrompt message handlers

void CResOrgAddInLoadPrompt::OnClickedYes(void) 
{
	UpdateData(TRUE);

	EndDialog(IDYES);
}


void CResOrgAddInLoadPrompt::OnClickedNo(void) 
{
	UpdateData(TRUE);

	EndDialog(IDNO);
}

⌨️ 快捷键说明

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