Link to home
Start Free TrialLog in
Avatar of dave_p
dave_p

asked on

Equations in static text boxes

I'm using VC++5. I have some static text boxes that I would like to put greek letters in or superscripts or subscripts. How do I do this?

I also would like to change background colors and colors of letters in test boxes and push buttons. Can I do this in the resource editor?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of nietod
nietod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nietod
nietod

An RTF control allows you to specify the color of the characters in the control, so that should be no problem.

To handle the color of other controls, you need to handle the MW_CTLCOLORxxx messages (the xxx varies as there are different messages for different types of contols.)  You can handle the WM_CTLCOLORBTN message for a push button.  

Let me know if you have any questions.