![]() |
Why is Ribbon bar read/write different ? |
Post Reply ![]() |
Author | |
hipopotamo ![]() Groupie ![]() Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
![]() ![]() ![]() ![]() ![]() Posted: 26 December 2007 at 3:01pm |
Hi ,
When I try to write RibbonBar to XML Node, it only writes QuickAccessControls, but read( from your example )works fine.
// Read
CXTPPropExchangeXMLNode px(TRUE, 0, _T("Settings"));
if (px.LoadFromResource(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDR_LAYOUT), RT_HTML)) CString s = px.GetXML(false); } // Write
{
CString s = px.GetXML(false); AfxMessageBox( s ); |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
add
pRibbonBar->EnableCustomization(TRUE) before save , FALSE after.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
hipopotamo ![]() Groupie ![]() Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg! Tkx Regards |
|
![]() |
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 |