Print Page | Close Window

About CXTPDockingPaneLayout Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=14432
Printed Date: 18 April 2024 at 9:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: About CXTPDockingPaneLayout Problem
Posted By: wangjun
Subject: About CXTPDockingPaneLayout Problem
Date 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....
 
 



Replies:
Posted By: Oleg
Date Posted: 02 June 2009 at 2:32am
Hi,
 
Can't reproduce it :( Do you have 12.*/13.* release ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: wangjun
Date Posted: 02 June 2009 at 2:51am

Now I use 9.6 * release,under VC6.0 console,

How I Solve this problem ?Help me.Thanks. 


Posted By: wangjun
Date Posted: 02 June 2009 at 3:14am
If use 12.*/13.* release ,can solve this problem?!
 
it maybe Read xml File problem? 


Posted By: Oleg
Date Posted: 03 June 2009 at 1:22am
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


Posted By: wangjun
Date Posted: 03 June 2009 at 2:52am
Ok,Thank you for your help!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net