Print Page | Close Window

CXTPRibbonTheme Override

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=9699
Printed Date: 01 March 2025 at 11:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPRibbonTheme Override
Posted By: Kenneth
Subject: CXTPRibbonTheme Override
Date Posted: 25 February 2008 at 12:09pm
What is the proper way to override the CXTPRibbonTheme function FillStatusBar function?  I have tried:
 
class CXTPRibbonTheme : public CXTPOffice2007Theme
{
private:
void FillStatusBar(CDC* pDC,CXTPStatusBar* pBar);
};
 
and get error C2011: 'CXTPRibbonTheme' : 'class' type redefinition



Replies:
Posted By: Oleg
Date Posted: 25 February 2008 at 2:07pm
???
Obviously you need another name:
 
class CMyRibbonTheme : public CXTPRibbonTheme


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


Posted By: Kenneth
Date Posted: 25 February 2008 at 5:28pm
Oleg
 
Thanks, I must have been sleeping.  Its been a very long day!



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