CXTPPropExchangeXMLNode |
Post Reply |
Author | |
LiLuan
Newbie Joined: 21 April 2009 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 21 April 2009 at 2:10am |
void CMainFrame::OnClose()
{
CXTPPropExchangeXMLNode px(FALSE, 0, _T("Settings"));
CXTPPropExchangeSection pxDockingPane(px.GetSection(_T("DockingPane"))); CXTPDockingPaneLayout layoutNormal(&m_paneManager); px.SaveToFile(m_strIniFileName); }
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
CXTPPropExchangeXMLNode px(TRUE, 0, _T("Settings"));
if (px.LoadFromFile(m_strIniFileName)) }
////err
at the point of .. if (px.LoadFromFile(m_strIniFileName)) ..the file(*.xml) is existed which will Load; but the function return value is FALSE; why??
|
|
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 |