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

📄 cutf8edit.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*____________________________________________________________________________
		Copyright (C) 2002 PGP Corporation
        All rights reserved.

        $Id: CUTF8Edit.h,v 1.1 2002/11/05 02:10:53 wjb Exp $
____________________________________________________________________________*/

#ifndef Included_CUTF8Edit_h	// [
#define Included_CUTF8Edit_h

#include "pgpClassesConfig.h"
#include "CWindow.h"

_PGP_BEGIN

// Class CUTF8Edit

class CUTF8Edit : public CWindow
{
private:
	enum {MaxLineLength = 256};

	CString mContentsUTF8;
	HWND mhwndNew;

public:
	CUTF8Edit();
	~CUTF8Edit();

	void Subclass(HWND hwndEdit);
	void NumbersOnly();
	void GetWindowText(CString &text);
	void SetWindowText(const char *text);
	SetSel(PGPInt32 start, PGPInt32 end) const;
	void LimitText(PGPUInt32 limit) const
	{
		SendMessage(EM_LIMITTEXT, limit, 0);
	}
	void SaveWindowText();

	PGPBoolean	EnableWindow(PGPBoolean enable) const;

	HWND mhwndOld;
	PGPBoolean mNumbersOnly;
	PGPBoolean mDestroyed;
	PGPBoolean mUnicodeOS;
	WNDPROC		mOrigProc;
};

_PGP_END

#endif	// ] Included_CUTF8Edit_h

⌨️ 快捷键说明

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