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

📄 richtext.h

📁 该词法分析程序用VC++ 6.0编写
💻 H
字号:
#if !defined(AFX_RICHTEXT_H__4B54C43E_F394_4C50_BD69_23DF12B72BBB__INCLUDED_)
#define AFX_RICHTEXT_H__4B54C43E_F394_4C50_BD69_23DF12B72BBB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CRichText wrapper class

class CRichText : public CWnd
{
protected:
	DECLARE_DYNCREATE(CRichText)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x3b7c8860, 0xd78f, 0x101b, { 0xb9, 0xb5, 0x4, 0x2, 0x1c, 0x0, 0x94, 0x2 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	long GetAppearance();
	void SetAppearance(long nNewValue);
	unsigned long GetBackColor();
	void SetBackColor(unsigned long newValue);
	long GetBorderStyle();
	void SetBorderStyle(long nNewValue);
	float GetBulletIndent();
	void SetBulletIndent(float newValue);
	BOOL GetDisableNoScroll();
	void SetDisableNoScroll(BOOL bNewValue);
	BOOL GetEnabled();
	void SetEnabled(BOOL bNewValue);
	CString GetFileName();
	void SetFileName(LPCTSTR lpszNewValue);
	LPDISPATCH GetFont();
	void SetRefFont(LPDISPATCH newValue);
	BOOL GetHideSelection();
	void SetHideSelection(BOOL bNewValue);
	long GetHwnd();
	void SetHwnd(long nNewValue);
	BOOL GetLocked();
	void SetLocked(BOOL bNewValue);
	long GetMaxLength();
	void SetMaxLength(long nNewValue);
	LPDISPATCH GetMouseIcon();
	void SetMouseIcon(LPDISPATCH newValue);
	void SetRefMouseIcon(LPDISPATCH newValue);
	long GetMousePointer();
	void SetMousePointer(long nNewValue);
	BOOL GetMultiLine();
	void SetMultiLine(BOOL bNewValue);
	float GetRightMargin();
	void SetRightMargin(float newValue);
	long GetScrollBars();
	void SetScrollBars(long nNewValue);
	VARIANT GetSelAlignment();
	void SetSelAlignment(const VARIANT& newValue);
	VARIANT GetSelBold();
	void SetSelBold(const VARIANT& newValue);
	VARIANT GetSelBullet();
	void SetSelBullet(const VARIANT& newValue);
	VARIANT GetSelCharOffset();
	void SetSelCharOffset(const VARIANT& newValue);
	VARIANT GetSelColor();
	void SetSelColor(const VARIANT& newValue);
	VARIANT GetSelFontName();
	void SetSelFontName(const VARIANT& newValue);
	VARIANT GetSelFontSize();
	void SetSelFontSize(const VARIANT& newValue);
	VARIANT GetSelHangingIndent();
	void SetSelHangingIndent(const VARIANT& newValue);
	VARIANT GetSelIndent();
	void SetSelIndent(const VARIANT& newValue);
	VARIANT GetSelItalic();
	void SetSelItalic(const VARIANT& newValue);
	long GetSelLength();
	void SetSelLength(long nNewValue);
	VARIANT GetSelProtected();
	void SetSelProtected(const VARIANT& newValue);
	VARIANT GetSelRightIndent();
	void SetSelRightIndent(const VARIANT& newValue);
	CString GetSelRTF();
	void SetSelRTF(LPCTSTR lpszNewValue);
	long GetSelStart();
	void SetSelStart(long nNewValue);
	VARIANT GetSelStrikeThru();
	void SetSelStrikeThru(const VARIANT& newValue);
	VARIANT GetSelTabCount();
	void SetSelTabCount(const VARIANT& newValue);
	CString GetSelText();
	void SetSelText(LPCTSTR lpszNewValue);
	VARIANT GetSelUnderline();
	void SetSelUnderline(const VARIANT& newValue);
	CString GetText();
	void SetText(LPCTSTR lpszNewValue);
	CString GetTextRTF();
	void SetTextRTF(LPCTSTR lpszNewValue);
	LPDISPATCH GetOLEObjects();
	BOOL GetAutoVerbMenu();
	void SetAutoVerbMenu(BOOL bNewValue);
	long GetOLEDragMode();
	void SetOLEDragMode(long nNewValue);
	long GetOLEDropMode();
	void SetOLEDropMode(long nNewValue);
	long Find(LPCTSTR bstrString, const VARIANT& vStart, const VARIANT& vEnd, const VARIANT& vOptions);
	long GetLineFromChar(long lChar);
	void LoadFile(LPCTSTR bstrFilename, const VARIANT& vFileType);
	void Refresh();
	void SaveFile(LPCTSTR bstrFilename, const VARIANT& vFlags);
	VARIANT GetSelTabs(short sElement);
	void SetSelTabs(short sElement, const VARIANT& newValue);
	void Span(LPCTSTR bstrCharacterSet, const VARIANT& vForward, const VARIANT& vNegate);
	void UpTo(LPCTSTR bstrCharacterSet, const VARIANT& vForward, const VARIANT& vNegate);
	void OLEDrag();
	void SelPrint(long lHDC, const VARIANT& vStartDoc);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RICHTEXT_H__4B54C43E_F394_4C50_BD69_23DF12B72BBB__INCLUDED_)

⌨️ 快捷键说明

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