Click here to Skip to main content
15,912,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to make a multilanguage application using MFC. I want to change language in menubar but It can not display unicode.

Anyone can help me?

Regards,

[Update]

I did it. You can directly type unicode character in Resource View :). Please open file .rc and retype unicode name before MENUITEM
Posted
Updated 30-Mar-11 21:30pm
v2

1 solution

In the pre-processor definitions define:
UNICODE,_UNICODE

and don't use single byte character-strings (char).


Regards,
Davy
 
Share this answer
 
Comments
Lương Thông Đạt 31-Mar-11 3:10am    
Sorry because this is the first time I work with MFC and C++. Sorry for my stupid question. Did you mean I should pre-processor in Resource.h like this #define UNICODE
#define _UNICODE ?
GDavy 31-Mar-11 3:37am    
You can add preprocessor definitions if you go to the Properties of your project (Configuration properties) -> There's a C/C++ tab, in there you can edit the Preprocessor definitions

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