Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Japanese charactor error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Japanese charactor error

 Post Reply Post Reply
Author
Message
zaozao View Drop Down
Groupie
Groupie


Joined: 09 February 2009
Location: Japan
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaozao Quote  Post ReplyReply Direct Link To This Post Topic: Japanese charactor error
    Posted: 14 April 2011 at 7:11am
My RibbonBar doesn't display Japanese chracter correctry like this:
 
I use ToolkitPro v13.4.2.
I can't find the line "lf.lfCharSet = ncm.lfMenuFont.lfCharSet;"
How can I fix this problem?
If I must patch  void CXTPRibbonTheme::UpdateFonts() method, Please teach me how to do.
Back to Top
kylechen View Drop Down
Groupie
Groupie


Joined: 29 November 2004
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote kylechen Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2011 at 3:53am

Hey, Zaozao, have you got this solved? I'm facing the same problem... Thanks.

Back to Top
kylechen View Drop Down
Groupie
Groupie


Joined: 29 November 2004
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote kylechen Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2011 at 4:47am
I fixed the problem. Mark here
Call "XTPResourceManager()->SetResourceFontCharset(TRUE);" after you call "XTPResourceManager()->SetResourceFile(....japanese resource dll file name here....)"
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.