![]() |
CXTPRibbonTheme Override |
Post Reply
|
| Author | |
Kenneth
Senior Member
Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPRibbonTheme OverridePosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 February 2008 at 2:07pm |
|
???
Obviously you need another name:
class CMyRibbonTheme : public CXTPRibbonTheme
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Kenneth
Senior Member
Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 February 2008 at 5:28pm |
|
Oleg
Thanks, I must have been sleeping. Its been a very long day!
|
|
![]() |
|
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 |