Parameter for RTF version to be used
Posted: Fri May 05, 2017 6:43 am
Hello,
i have seen that in class StiRichTextBox possibly the Control with version RICHEDIT50W is generated.
Please, can you make this setting available as an option? So all RTF work is created with the set version?!
We need this to be able to use all the abilities of the current RTF Control of Windows 10!
Greetings
Here is an overview of the RTF version:
i have seen that in class StiRichTextBox possibly the Control with version RICHEDIT50W is generated.
Code: Select all
namespace Stimulsoft.Report.Controls
{
/// <summary>
/// Represents a Windows rich text box control, with some impovements.
/// </summary>
[SuppressUnmanagedCodeSecurity]
[ToolboxItem(false)]
public class StiRichTextBox : RichTextBox
{
....
protected override CreateParams CreateParams
{
get
{
if (!this.DrawTransparent)
{
return base.CreateParams;
}
CreateParams prams = base.CreateParams;
if (StiRichTextBox.LoadLibrary("msftedit.dll") != IntPtr.Zero)
{
CreateParams exStyle = prams;
exStyle.ExStyle = exStyle.ExStyle | 32;
prams.ClassName = "RICHEDIT50W";
}
return prams;
}
}
We need this to be able to use all the abilities of the current RTF Control of Windows 10!
Greetings
Here is an overview of the RTF version:
Code: Select all
RICHED32.DLL: v1.0
C:\Windows\System32\RICHED32.DLL
Wrapper Dll for Richedit 1.0
In XP: File version: 5.1.2600.0
In W7: File version: 6.1.7601.17514
In W10: File version: 10.0.10586.0
ClassName: 'RICHEDIT'
RICHED20.DLL: v2.0
C:\Windows\System32\RICHED20.DLL
Rich Text Edit Control, v2.0
5.0.150.0
Microsoft RichEdit Control, version 2.0
ClassName: 'RichEdit20A'
RICHED20.DLL: v3.0, in XP:
C:\Windows\System32\RICHED20.DLL
Rich Text Edit Control, v3.0
Product version: 3.0
File version: 5.30.23.1230
ClassName: 'RichEdit20A'
RICHED20.DLL: v3.1, in W7, W10:
C:\Windows\System32\RICHED20.DLL
Rich Text Edit Control, v3.1
Product version: 3.1
File version: 5.31.23.1230
File version: 5.31.23.1231
ClassName: 'RichEdit20A'
Windows XP, Windows 7 : v4.1
C:\Windows\System32\MSFTEDIT.DLL
Rich Text Edit Control, v4.1
Product version: 4.1
XP SP3: File version: 5.41.15.1515
W7: File version: 5.41.21.2510
ClassName: 'RichEdit50W'
Windows 8: v7.5
C:\Windows\System32\MSFTEDIT.DLL
Control de edición de texto enriquecido, v7.5
Product/file version: 6.2.9200.16657
Product name: Microsoft Windows Operating System
ClassName: 'RichEdit50W'
Windows 10: v7.5
C:\Windows\System32\MSFTEDIT.DLL
Control de edición de texto enriquecido, v7.5
Product/file version: 10.0.10586.17
Product name: Sistema operativo Microsoft Windows
ClassName: 'RichEdit50W'