Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTTipOfTheDay show unreadable code
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTTipOfTheDay show unreadable code

 Post Reply Post Reply
Author
Message
zhuhuaizhong View Drop Down
Newbie
Newbie


Joined: 08 April 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhuhuaizhong Quote  Post ReplyReply Direct Link To This Post Topic: CXTTipOfTheDay show unreadable code
    Posted: 08 April 2010 at 2:54am
I am using CXTTipOfTheDay,But it can't display Chinese chars stored in tips.txt,I'v change the font but still show the incorrect code.

I'm using Xtreme Toolit Pro 13.2.1 . any help will be welcome !

Back to Top
zhuhuaizhong View Drop Down
Newbie
Newbie


Joined: 08 April 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhuhuaizhong Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2010 at 7:35pm
I solved the problem myself .

Relace the _T("r") to _T("rb") at line 100 in XTTipOfTheDay.cpp ,and save the tips.txt as UNICODE format.
Back to Top
sunceenjoy View Drop Down
Groupie
Groupie


Joined: 16 April 2010
Location: China
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunceenjoy Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2010 at 9:56pm
i met the same problem,how did you change the next button string to  '下一个提示' ?? modify the source code??
Back to Top
sunceenjoy View Drop Down
Groupie
Groupie


Joined: 16 April 2010
Location: China
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunceenjoy Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2010 at 10:34pm
i solved it by myself
 
just inherit XTTipOfTheDay ,then implement OnInitDialog method and set item text which can find in source code.
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.187 seconds.