About CXTPDockingPaneLayout Problem |
Post Reply |
Author | |
wangjun
Newbie Joined: 02 June 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 02 June 2009 at 12:21am |
hi,
pPane = m_paneManager.CreatePane(
IDR_PANE_ALLRATE, CRect(0, 0,550, 500), xtpPaneDockLeft); 1、 pPane->SetTitle(_T("视窗"));//
2、 pPane->SetTitle(_T("View"));//
CXTPDockingPaneLayout layoutNormal(&m_paneManager);
m_paneManager.GetLayout(&layoutNormal); if(layoutNormal.LoadFromFile(_T("Layout.xml"),"Layout"))
{ MessageBox("加载成功"); m_paneManager.SetLayout(&layoutNormal); } else MessageBox("加载失败"); if the Title Set for chinese , layoutNormal.LoadFromFile will fail.
else the Title Set for English, layoutNormal.LoadFromFile will Success..
the problem is why the Title Set for chinese ,will fail??
Thanks for taking the time....
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Can't reproduce it :( Do you have 12.*/13.* release ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
wangjun
Newbie Joined: 02 June 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Now I use 9.6 * release,under VC6.0 console, How I Solve this problem ?Help me.Thanks.
|
|
wangjun
Newbie Joined: 02 June 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
If use 12.*/13.* release ,can solve this problem?!
it maybe Read xml File problem?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, you need update. in last releases utf-8 is default encoding for XML that will solve problem.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
wangjun
Newbie Joined: 02 June 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Ok,Thank you for your help!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |