📄 crichedit.hpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -