如何在Buttons中显示希腊字符串作为标题? [英] How to display greek Strings in Buttons as a caption?

查看:114
本文介绍了如何在Buttons中显示希腊字符串作为标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在按钮中显示希腊字符串作为标题?

How to display greek Strings in Buttons as a caption?

推荐答案

您的应用程序是否支持Unicode?如果是这样,那么您要做的就是设置正确的UNICODE文本.
Is that your application support Unicode? If so only thing you''ve to do is set the correct UNICODE text.


如果您使用的是MFC,以下是一些不错的文章:

资源DLL和语言选择菜单 [ MFC的软件翻译简介 [对扩展名为DLL的MFC应用程序的多语言支持 [对应用程序的多语言支持 [ http://www.codeproject.com/KB/locale/ [ ^ ]
If you are using MFC, here are some good articles:

Resource DLLs and Language Selection Menu[^]

Introduction to Software Translation for MFC[^]

Multiple language support for MFC applications with extension DLL[^]

Multilingual support for applications[^]

Other articles may be found here: http://www.codeproject.com/KB/locale/[^]


更改项目设置Unicode支持.使用SetWindowText()函数设置文本.
m_UniCodeButton.SetWindowText(_T("\x03B1\x03B2\x03B3"));
这将在Button上打印希腊小写字母Alpha,Beeta,Gamma字母.
有关希腊字母的Unicode值,请参考以下PDF
http://unicode.org/charts/PDF/U0370.pdf [
Change you project settings to Unicode support.Use SetWindowText() function to set the text.
m_UniCodeButton.SetWindowText(_T("\x03B1\x03B2\x03B3"));
This will print Greek Small letters Alpha, Beeta, Gamma letters on Button.
Refer the following PDF for Unicode values of Greek letters
http://unicode.org/charts/PDF/U0370.pdf[^]


这篇关于如何在Buttons中显示希腊字符串作为标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆