Click here to Skip to main content
15,885,998 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Dear All,

Change font size Last Three Digits in Edit control.

Example: 59.8956

How can i achieve this using Visual Studio 6.0 in EDIT CONTROL.

Regards,
Ranjith
Posted
Updated 12-Jun-14 20:00pm
v2

1 solution

There is no a way. This control uses one single font. For something like what you want, use, for example, RTF-based CRichEditCtrl or CRichEditView:
http://msdn.microsoft.com/en-us/library/76a787xf.aspx[^],
http://msdn.microsoft.com/en-us/library/bcb28z09.aspx[^].

Please also see MDSN documentation on the raw Windows API Rich Edit control:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb787605%28v=vs.85%29.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/desktop/bb787873%28v=vs.85%29.aspx[^].

See also: http://en.wikipedia.org/wiki/Rich_Text_Format[^].

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900