licenseagreementdlg.h

来自「c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++」· C头文件 代码 · 共 57 行

H
57
字号
//////////////////////////////////////////////////////////////////////
// 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 + =
减小字号Ctrl + -
显示快捷键?