请注意:此文翻译自http://scintilla.sourceforge.net/Steps.html。
Scintilla 控件可以在网站http://scintilla.sourceforge.net/index.html上获取。
如何在 Windows 环境下使用 Scintilla 编辑控件?
下面的将逐步介绍如何在 Windows 环境下使用 Scintilla 控件。
如何创建 Scintilla 编辑控件?
首先载入 Scintilla 控件的动态库,如下:
hmod = LoadLibrary("SciLexer.DLL");
if (hmod == NULL)
{
MessageBox(hwndParent,
"The Scintilla DLL could not be loaded.",
"Error loading Scintilla",
MB_OK | MB_ICONER