Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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
 
Share this answer
 

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