This project is read-only.
1
Vote

RichTextBox

description

The .net framework RichTextBox uses the 2.0 RichEdit control, I dont see your RichTextBoxEx class loading the msftedit.dll and specifying the following in the CreateParams to load the 5.0 control?
 
 
              CreateParams cParams = base.CreateParams;
 
                // Check Unicode or ANSI system and set appropriate ClassName.
                if (Marshal.SystemDefaultCharSize == 1)
                {
                    cParams.ClassName = "RichEdit50A";
                }
                else
                {
                    cParams.ClassName = "RichEdit50W";
                }

comments