更改字体大小编辑框中的最后三位数字 [英] Change Font size Last three digits in Edit Box
本文介绍了更改字体大小编辑框中的最后三位数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有人,
更改字体大小编辑控件中的最后三位数。
示例: 59. 8956
如何在EDIT CONTROL中使用Visual Studio 6.0实现这一目标。
问候,
Ranjith
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
推荐答案
没有办法。此控件使用一种单一字体。对于你想要的东西,使用,例如,基于RTF的CRichEditCtrl
或CRichEditView
:
http://msdn.microsoft.com/en-us/library/76a787xf.aspx [ ^ ],>
http://msdn.microsoft.com/en-us/library/bcb28z09.aspx [ ^ ]。<请参阅原始Windows API Rich Edit控件的MDSN文档:
请参阅MDSN文档。 COM / EN-US /库/窗/台式机/ bb787605%28V = vs.85%29.aspx> 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 [ ^ ]。
另请参阅: http://en.wikipedia.org / wiki / Rich_Text_Format [ ^ ]。
-SA
There is no a way. This control uses one single font. For something like what you want, use, for example, RTF-basedCRichEditCtrl
orCRichEditView
:
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
这篇关于更改字体大小编辑框中的最后三位数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文