tags:

views:

62

answers:

4

Hello, I need to write some mathmatical expressions (like a matrix and mathematical variables...) into my GUI.

The MFC static control is very limited on this issue. Especially for the math. symbols. is there any control or other way to make this happen?

greetz

Ric

A: 

You can use calc from openoffice and save the formula like image. Then you can display it in your gui. I hope thet help you.

RG
well it is not dynamic
Hayt
A: 

You may want to check out MFC Grid Control:
http://www.codeproject.com/KB/miscctrl/gridctrl.aspx

swatkat
A: 

There is only one good math editor, see http://www.dessci.com/en/products/mathplayer/ . It's not so much a ready-to-use control though, it may or may not work for your application.

Consider allowing TeX-style equations in your application. Again, depending on your audience, this may or may not be an option.

Roel
well I need to display tex style. is there any library to do this in MFC?
Hayt
Not that I know of. You could call TeX from the command line and insert the resulting image into your UI. Maybe there's an embeddable version of TeX.
Roel
A: 

OK all I did now is a bit dirty, but I put everything with static controls together and changed the font to Symbol from microsoft to get the greek letters.

You maybe need to resize and move some of the controls but then everythings seems to work.

so all in all kinda dirty.

Ric.

Hayt