RichTextBoxEx Class |
Namespace: TextObjectModel
The RichTextBoxEx type exposes the following members.
Name | Description | |
---|---|---|
RichTextBoxEx |
Initialises a new instance of the RichTextBoxEx class.
|
Name | Description | |
---|---|---|
LoadFrom |
Creates a RichTextBoxEx by loading a specific version
of the native RichEdit control from the specified DLL.
|
Name | Description | |
---|---|---|
CreateParams |
Gets the required creation parameters when the control handle is created.
(Overrides RichTextBoxCreateParams.) |
During its initial creation, the control will attempt to locate a Microsoft Office shared DLL containing the desired RichEdit control. If this fails (either because Office is not installed or the DLL is for a different processor architecture), it will try MSFTEDIT.DLL instead.
In order to utilise the Microsoft Office implementation, the caller must have read access for following registry key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs - this may not be available in sandboxed environments.
Important: The processor architecture of the Microsoft Office installation must match that of the calling process. If both the 32-bit and 64-bit versions of Office are installed, the control will attempt both DLLs until it finds a suitable match.
After loading the libraries into memory, it will then select the highest version of the RichEdit control that is available. It will select from the following window class names (in order of preference):