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

📄 licenseagreementdlg.h

📁 c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++6.0
💻 H
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
//       http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////

#ifndef LICENSEAGREEMENT_INCLUDE
#define LICENSEAGREEMENT_INCLUDE

#include "Resource.h"

class CWhiteBackEdit : public CEdit
{
public:
	CWhiteBackEdit();

private:
	CBrush *BackBrush;

	HBRUSH CtlColor(CDC* DC, UINT CtlColor);

	DECLARE_MESSAGE_MAP()
};

class CLicensingAgreementDlg : public CDialog
{
public:
	CLicensingAgreementDlg(CWnd* pParent, char *Text);

	enum { IDD = IDD_LICENSEAGREEMENT };

	bool DidAgree();

private:
	bool HasAgreed;
	CWhiteBackEdit LicenseEdit;
	char *AgreementText;

	virtual void DoDataExchange(CDataExchange* pDX);
	void Agree();
	afx_msg void OnCancel();
	
	BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
};

#endif

⌨️ 快捷键说明

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