我应该如何在VC ++和MFC中的对话框控件中使用日语字符串 [英] How should I accomadate japanese string in dialog controls in VC++ and MFC

查看:163
本文介绍了我应该如何在VC ++和MFC中的对话框控件中使用日语字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,



目前,我正在将我的项目(已经用ASCII编写,以支持英语和英语,如launguages)转换为unicode。



目的是支持日语和其他非英语语言。



我在这里有一个问题。



问题:由于日文文本的大小很大,我应该如何确保字符串在dailaog控件中变得有用。



让我们举一个小例子,我必须在按钮或Sataic Text控件中容纳日语字符串。

如何根据字符串的大小增加按钮的大小?



我需要回答赢32和MFC。





你能提供你的意见吗?



问候,

Joy

解决方案

你可以改变字体对话框属性中的对话框。确保你的VC ++程序支持unicode。



看看这个也是http://social.msdn.microsoft.com/forums/en-US/86bb5afb -4fdf-46d8-91ca-3d6596a1887b /运行时间变化-A-MFC-C-对话框-字体大小

Hello Guys,

Currently, I am converting my project ( already written to in ASCII to support English and english like launguages) to unicode.

The purpose is to support japanese and other non-ebglish launguage.

I have a a question here.

Question: As Japanese text will be large in size, how should I ensure that strings are getting accomadate in dailaog controls.

Lets take a samll example where I have to accomodate a japanese string in a button or Sataic Text control.
How will I increase size of button based on size of string?

I need answer for win 32 and MFC.


Can you give your input?

Regards,
Joy

解决方案

You can change the Font of the dialog from dialog properties. Ensure, your VC++ program supports unicode.

Take a look at this as well http://social.msdn.microsoft.com/forums/en-US/86bb5afb-4fdf-46d8-91ca-3d6596a1887b/runtime-change-a-mfc-c-dialogbox-font-size


这篇关于我应该如何在VC ++和MFC中的对话框控件中使用日语字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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