Hi, Goran here.
How can I Create in Visual C++ 6.0 or Visual C++ .NET the RichEdit 4.1 control (msftedit.dll), put the Justify Alignment and make some words at the and of the line with hyphenate?
Please, code.
Thanks.
Hi, Goran here.
How can I Create in Visual C++ 6.0 or Visual C++ .NET the RichEdit 4.1 control (msftedit.dll), put the Justify Alignment and make some words at the and of the line with hyphenate?
Please, code.
Thanks.
That version of richedit control is UNICODE only and requires a minimum operating system of winxp sp1. In other words, unless you're comfortable with UNICODE and are certain that the target os will meet the minimum requirement then you would be as well gaining familiarity with the features of earlier versions.
If you still intend on fiddling around with it anyway, then make sure UNICODE and _UNICODE are both defined for your application, load the required dll as you would for other richedit controls and use 'MSFTEDIT_CLASS' for the class name when you create a richedit v4.1.
More information: msdn: richedit controls.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Thank you, but I need a CODE for Create control (RichTextBox 4.1 - msftedit), Justify alignement and Hyphenate some words at the end of the line.
What have you tried in the couple of weeks since you originally posted this question? Did you read up on richedit controls starting from the msdn page I provided a link to? Have you, on the basis of your understanding of that information, made any attempt to write the CODE for yourself?
If you have and are still experiencing difficulty then by all means post the problematic code with a description of that problem.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Hi Ken,
I am beginer in Visual C++. I tried to do it with RichTextBox 4.1 but it is heavy for me.
I have Windows XP SP1, but when I LoadLibrary ("msftedit.dll"), include CreateWindowEx function to create RT 4.1, and use MSFTEDIT_CLASS in this function, and try Run - program
write error: .......do not recognize MSFTEDIT_CLASS.
The program recognize only RICHEDIT_CLASS, and it is for RichTExtBox 2.0 (or 3.0)
I've wrote too MSDN:Controls, but I can't still Create RichTextBox 4.1 (msftedit.dll)
Therefore, I need a code.
Sorry for my English.