|
-
May 11th, 1999, 10:08 PM
#1
Display chinese characters in the menu??
Hi,
I'm trying to display Chinese characters in the menu of my application running on a English version of windows. I have a third party software which enables the viewing of Chinese characters and I have a Chinese resource DLL. I managed to display other parts of my window in Chinese except for the menu. All it shows me are underscores which is basically garbage.
When I changed my resource, I loaded the new menu and then called the DrawMenuBar method but it doesn't seem to work.
Am I doing something wrong or missing out anything??
Thanks!!
Steve
-
May 23rd, 2005, 10:35 AM
#2
Re: Display chinese characters in the menu??
Hi Steve,
I am not sure how you display Chinese in other parts of the windows.
If you are using the font data to display Chinese, I suppose you can do
it the same way for the menu. The idea is to write a class derived
from CMenu, and overide the DrawItem method to manually display
Chinese using the font data, and then use CWnd:SetMenu method
to replace the default menu with your menu. I have never tried this
before, but you can try.
-Zheng
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|