Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Implementing Rich Text Edit Functionality
I attempted to recreate the form and commuter module in the RTI help of the same title, but noticed that it might be somewhat dated since it didn't work.
Reading up about RTF in the MS documentation I found that the latest DLL is MSFTEdit.DLL of which I was able to extract the commands using DLL Export Viewer
For me to continue my research if this is a viable solution for the project I am working on I need a starting point, namely how to connect the DLL mentioned with the form. what is the name in that need to be written in the TEXT field.
Secondly (since I don't see the commands that were used in the programming in the Help text) If I can be pointed to some documentation regarding the commands I found in the MSFTEdit.DLL shown below
Any help appreciated
I have a spreadsheet with all the commands that are inside this DLL.
Reading up about RTF in the MS documentation I found that the latest DLL is MSFTEdit.DLL of which I was able to extract the commands using DLL Export Viewer
For me to continue my research if this is a viable solution for the project I am working on I need a starting point, namely how to connect the DLL mentioned with the form. what is the name in that need to be written in the TEXT field.
Secondly (since I don't see the commands that were used in the programming in the Help text) If I can be pointed to some documentation regarding the commands I found in the MSFTEdit.DLL shown below
Any help appreciated
I have a spreadsheet with all the commands that are inside this DLL.
Comments
The documentation that I was reading is https://docs.microsoft.com/en-us/windows/win32/controls/using-rich-edit-controls
In reality I just wanted the program in the RTI 9.4 help to be working as is, but it didn't
The article certainly suggests you can use RTF as an ActiveX control, but I encountered difficulties getting this to work. Probably the same difficulties you faced.
Knowing your end goal is to provide WYSIWYG features within OI that can then be implemented in a Word document, perhaps a commercial product like TX Text Control ActiveX would suit you better.
I need to be able to change the font for a selection. For all my other manipulations I was able to use SETCHARFORMAT. for color I used the CHOOSECOLOR utility and was planning to use CHOOSEFONT to manipulate the font and size so the question is how to interpret the font structure and the charformat
Is it in twips their too?
-------------------------------------------------------------------------------------
directory = "C:\Windows\Fonts"
filter = "*.ttf"
Fonts = RTI_OS_Directory( "GETFILES", directory, filter )
-------------------------------------------------------------------------------------
Now I am trying to get the long name since this looks like the short name.
I want to show the font names as in the attached file.