crichedit.hpp

来自「bt848,bt878 a采集卡的探测」· HPP 代码 · 共 35 行

HPP
35
字号
// RichEdit control

#ifndef _CRICHEDIT_HPP
#define _CRICHEDIT_HPP

#include "CWnd.hpp"
#include "CMemory.hpp"
#include "CString.hpp"
#define _WIN32_IE 0x0400
#include <commctrl.h>
#include <commdlg.h>
#include <richedit.h>

class CRichEdit : public CWnd {

protected:
	// RichEdit Loading
	char*	rePos;			// Pointer to the next byte to load
	ULONG	reCountToLoad;	// Bytes remaining to load

public:

	// Constructors
	CRichEdit() {}
	CRichEdit(CWnd& father,int nID) : CWnd(father,nID) {}

	// Useful ops
	void StreamIn(void* Data,UINT Len);
	void StreamIn(CMemory& Data);

protected:
	static DWORD CALLBACK StreamInCallback(DWORD dwCookie, LPBYTE pbBuff, LONG cbx, LONG FAR *pcb);
};

#endif

⌨️ 快捷键说明

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