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

📄 richedit_io.h

📁 vc环境下的pgp源码
💻 H
字号:
/*____________________________________________________________________________
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.

	$Id: RichEdit_IO.h,v 1.2 1999/03/10 03:01:59 heller Exp $
____________________________________________________________________________*/
#ifndef Included_RichEdit_IO_h	/* [ */
#define Included_RichEdit_IO_h

#ifdef __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------|
//
//	Get contents of RichEdit control.
//		hWndRichEditCtrl= handle of control that is to be read
//		bRTF			= TRUE => return contents in RTF format
//						= FALSE => return contents in plain ASCII text format
//		lpcb			= pointer to variable to receive number of characters 
//						  tranferred into buffer (including trailing NULL character)
//
//	Function returns pointer to allocated buffer if successful, NULL 
//  otherwise.  When it is no longer needed, the calling routine must free 
//  the allocated buffer from the process heap by call HeapFree. E.g.:
//
//		HeapFree (GetProcessHeap(), 0, lpBuffer);
//
LPSTR GetRichEditContents (HWND hWndRichEditCtrl, LPLONG lpcb, BOOL bRTF, BOOL bSel);
//
//------------------------------------------------------------------|

//------------------------------------------------------------------|
//
//
//	Set contents of RichEdit control.
//		hWndRichEditCtrl= handle of control that is to be set.
//		bRTF			= TRUE => buffer contents are in RTF format
//						= FALSE => buffer contents are in plain ASCII text format
//		lpBuffer		= buffer containing text to load into control
//
//	Function returns 0 if no error.
//
LONG SetRichEditContents (HWND hWndRichEditCtrl, LPSTR lpBuffer, BOOL bRTF, BOOL bSel);
//
//------------------------------------------------------------------|
#ifdef __cplusplus
}
#endif
#endif /* ] Included_RichEdit_IO_h */


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

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