Print Page | Close Window

Ribbon: how can we create MFC-resource-type

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=21580
Printed Date: 24 November 2024 at 5:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon: how can we create MFC-resource-type
Posted By: BeeJay
Subject: Ribbon: how can we create MFC-resource-type
Date Posted: 11 April 2013 at 4:49am
Hi there,

with CXTPRibbonBuilder::LoadFromResource we can create a XTPRibbon from a MFC resource item (type RT_RIBBON). Is this right?

We currently are creating the XTPRibbon programmatically.

How can we serialize a XTP ribbon object to the standard MFC Ribbon XML ressource format? (and then comment out the creation code forever :-) )

The standard serializer for XML seems to write just a proprietary XTP format, but not the official MFC RT_RIBBON format.

Thanks in advance

BeeJay

PS: We need to use RT_RIBBON because our localization tool does not support proprietary, user-defined resource type.



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