【发布时间】:2018-06-28 04:43:09
【问题描述】:
我想在 MFC 中使用 Rich 编辑控件的下划线颜色
但是,在 afxwin.h 中,_RICHEDIT_VER 定义了 0x210。 像这样,
#define _RICHEDIT_VER 0x0210
我正在加载“msftedit.dll”(8.1 版本)和 Windows10 SDK (10.0.16299.0) 但是,bUnderlineColor 是在 Richedit.h 中编码的
#if (_RICHEDIT_VER >= 0x0800)
BYTE bUnderlineColor; // Underline color
#endif
如果我不使用包装类(CRichEditCtrl),我可以在 MFC 项目中使用它吗? 以及如何?
【问题讨论】:
标签: c++ mfc version richedit cricheditctrl