WinAPI control that accepts a mathematical formula as input
I need to enter the following formula in the edit control:
The formula was done in MS Word. After trying to copy / paste it into an edit control (single line or multi line) I get M 0.33 Q10T9.1-9.7
.
As I type this, I study the docs for RichEdit. If this control can solve my problem, I'll make the decisions by including it.
I tried with RichEdit, following the MSDN docs , but with no success.
I get the same result as above (the numbers are the correct size, but again most of the formula is missing).
I will rephrase my question:
What control, if any, can take the above formula as input and display it correctly?
Thank.
You will want to place the MS Equation editor object. It is an OLE component, the same technology that ActiveX controls are based on.
Your application will become a host, also called a "site".
Try using Formula Editor (Microsift) or Light Editor Editor (OtherControls) Both of these controls are not WinApi but can be used as OLE objects