复选框标题中的希腊字母有问题 [英] Problem with Greek letters in the Caption of a Check Box

查看:127
本文介绍了复选框标题中的希腊字母有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用"charmap"来获取希腊字母β"beta"的unicode(正如几天前在这里所建议的-谢谢大家的有用答案),它确实可以解决问题.

但是,我现在尝试添加"Gamma","Psi","Delta"和"Phi",尽管在实际运行程序时预览有效,但我还是得到了其他字符.我尝试在"charmap"中使用MS San Serif,认为这是对话框中使用的字体,但没有区别.

有任何想法吗?

在此先感谢:)

I have used ''charmap'' to get the unicode for the Greek letter β ''beta'' (as advised on here a few days ago - thank you all for the useful answers) and it worked a treat.

However I am now trying to add ''Gamma'', ''Psi'', ''Delta'' and ''Phi'', and although the preview works when I actually run the program I get other characters altogether. I tried using MS San Serif in ''charmap'' thinking that would be the font used in the dialog but it made no difference.

Any ideas anyone?

Thanks in advance :)

推荐答案

这是一个字体问题,只有我猜.您能否尝试一招,例如-仅在运行时设置字幕值.
例如:-在设计时不要在属性框中设置任何标题值.而不是在运行时使用代码设置值.说,我正在使用一个名为chkAlpha的复选框,然后

chkAlpha.Caption.Value =α"//同样地进行渗入.

试试这个,让我们知道.

还要检查编辑器使用的字符集(如果是ASCII或UNICODE.).
This is a font issue only I guess. Could you please try a trick, like - set the caption value at runtime only.
eg.- Dont set any caption value in property box while designing. Instead of set value at runtime using code. Say, I am using a Checkbox named as chkAlpha, then

chkAlpha.Caption.Value = "α" // somting likewise.

Try this & let us know.

Also check the charecter set used by your editor, if that is ASCII or UNICODE.


Beta可以用一个字节编码... :)

尝试使用"MS Shell Dlg"字体(1)
unicode .rc文件(2)中:)
Beta can be coded by one byte... :)

Try to use "MS Shell Dlg" font (1)
in your unicode .rc file (2) :)


在charmap中,如果您真的想获得Unicode范围,请选择高级视图,可以现在选择您的字符集(不要选择DOS字符,选择Windows:Greek可能是最安全的.然后您将只看到希腊字符集.

您昨天选择的ß可能是0xDF,即拉丁文小写字母SharpS.


现在,我看到您在C/C ++/MFC部分中发帖,这使我想到下一个问题:这是具有Unicode支持的32位Windows可执行文件吗?否则就是完全不同的局面了.
In charmap, if your really want to get at the Unicode ranges, select advanced view, you can now choose your character set (do not select the DOS character, it may be safest to select Windows:Greek. You will then only see the Greek character set.

The ß you selected yesterday was probably 0xDF, Latin Small Letter Sharp S.


Now I see you''re posting in the C/C++/MFC section, which brings me to my next question: Is this is a 32 bit Windows executable with Unicode support? Otherwise it''s a whole different ballgame...


这篇关于复选框标题中的希腊字母有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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